Commit 35515cfa authored by shadowfacts's avatar shadowfacts

Update mastodon_api_controller.ex

parent 26f86974
......@@ -1029,7 +1029,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
created_at =
NaiveDateTime.to_iso8601(created_at)
|> String.replace(~r/(\.\d+)?$/, ".000Z", global: false)
id = id |> to_string
case activity.data["type"] do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment