Fix warning

This commit is contained in:
href 2018-12-14 13:56:42 +01:00
parent ec0e613eca
commit 0b4c61e8d5
No known key found for this signature in database
GPG Key ID: EE8296C1A152C325
1 changed files with 1 additions and 1 deletions

View File

@ -1061,7 +1061,7 @@ def render_notification(user, %{id: id, activity: activity, inserted_at: created
response = %{ response = %{
id: to_string(id), id: to_string(id),
type: mastodon_type, type: mastodon_type,
created_at: CommonAPI.Utils.to_masto_date(activity.inserted_at), created_at: CommonAPI.Utils.to_masto_date(created_at),
account: AccountView.render("account.json", %{user: actor, for: user}) account: AccountView.render("account.json", %{user: actor, for: user})
} }