Extract instance actions from `MastodonAPIController` to `InstanceController`
[akkoma] / lib / pleroma / web / mastodon_api / views / notification_view.ex
index 05110a1921a1617a99c77354c8b6a31e0c1c3ec6..60b58dc90dcd3604fbdb2937bea18210562b7bf2 100644 (file)
@@ -29,7 +29,7 @@ defmodule Pleroma.Web.MastodonAPI.NotificationView do
       id: to_string(notification.id),
       type: mastodon_type,
       created_at: CommonAPI.Utils.to_masto_date(notification.inserted_at),
-      account: AccountView.render("account.json", %{user: actor, for: user}),
+      account: AccountView.render("show.json", %{user: actor, for: user}),
       pleroma: %{
         is_seen: notification.seen
       }