Apply suggestion to lib/pleroma/web/pleroma_api/subscription_notification_controller.ex

This commit is contained in:
Roman Chvanikov 2019-09-17 13:42:36 +00:00
parent 2688b876ab
commit c0f776faec

View file

@ -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