Fix warning
This commit is contained in:
parent
ec0e613eca
commit
0b4c61e8d5
|
@ -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})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue