From 35515cfa66f39d618be5702137d296b7bc25b65e Mon Sep 17 00:00:00 2001 From: shadowfacts Date: Mon, 3 Sep 2018 01:58:55 +0000 Subject: [PATCH] Update mastodon_api_controller.ex --- lib/pleroma/web/mastodon_api/mastodon_api_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex index 576e9d3ce..8279db93e 100644 --- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex +++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -1029,7 +1029,7 @@ def render_notification(user, %{id: id, activity: activity, inserted_at: created created_at = NaiveDateTime.to_iso8601(created_at) |> String.replace(~r/(\.\d+)?$/, ".000Z", global: false) - + id = id |> to_string case activity.data["type"] do