forked from AkkomaGang/akkoma
Update mastodon_api_controller.ex
This commit is contained in:
parent
26f8697400
commit
35515cfa66
1 changed files with 1 additions and 1 deletions
|
@ -1029,7 +1029,7 @@ def render_notification(user, %{id: id, activity: activity, inserted_at: created
|
||||||
created_at =
|
created_at =
|
||||||
NaiveDateTime.to_iso8601(created_at)
|
NaiveDateTime.to_iso8601(created_at)
|
||||||
|> String.replace(~r/(\.\d+)?$/, ".000Z", global: false)
|
|> String.replace(~r/(\.\d+)?$/, ".000Z", global: false)
|
||||||
|
|
||||||
id = id |> to_string
|
id = id |> to_string
|
||||||
|
|
||||||
case activity.data["type"] do
|
case activity.data["type"] do
|
||||||
|
|
Loading…
Reference in a new issue