Apply suggestion to lib/pleroma/web/pleroma_api/subscription_notification_controller.ex
This commit is contained in:
parent
2688b876ab
commit
c0f776faec
@ -15,7 +15,6 @@ def list(%{assigns: %{user: user}} = conn, params) do
|
||||
|
||||
conn
|
||||
|> add_link_headers(notifications)
|
||||
|> put_view(SubscriptionNotificationView)
|
||||
|> render("index.json", %{notifications: notifications, for: user})
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user