Apply suggestion to lib/pleroma/web/pleroma_api/subscription_notification_controller.ex
This commit is contained in:
@@ -15,7 +15,6 @@ defmodule Pleroma.Web.PleromaAPI.SubscriptionNotificationController do
|
||||
|
||||
conn
|
||||
|> add_link_headers(notifications)
|
||||
|> put_view(SubscriptionNotificationView)
|
||||
|> render("index.json", %{notifications: notifications, for: user})
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user