Apply suggestion to lib/pleroma/web/pleroma_api/subscription_notification_controller.ex
authorRoman Chvanikov <chvanikoff@pm.me>
Tue, 17 Sep 2019 13:42:36 +0000 (13:42 +0000)
committerRoman Chvanikov <chvanikoff@pm.me>
Tue, 17 Sep 2019 13:42:36 +0000 (13:42 +0000)
lib/pleroma/web/pleroma_api/subscription_notification_controller.ex

index d5da929462d2c396d85744aae81ce8b075249eff..fff307b4e7ed64fca4c72c6d62bf37e1438039ea 100644 (file)
@@ -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