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
|
conn
|
||||||
|> add_link_headers(notifications)
|
|> add_link_headers(notifications)
|
||||||
|> put_view(SubscriptionNotificationView)
|
|
||||||
|> render("index.json", %{notifications: notifications, for: user})
|
|> render("index.json", %{notifications: notifications, for: user})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue