1
0
Fork 0
forked from mirrors/akkoma

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

View file

@ -1061,7 +1061,7 @@ def render_notification(user, %{id: id, activity: activity, inserted_at: created
response = %{
id: to_string(id),
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})
}