Update mastodon_api_controller.ex

This commit is contained in:
shadowfacts 2018-09-03 01:58:55 +00:00
parent 26f8697400
commit 35515cfa66

View file

@ -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