Create real Views for all Controllers
[akkoma] / lib / pleroma / web / pleroma_api / controllers / account_controller.ex
index 165afd3b42391029c212bfceb95bf360e19f0993..6e01c549799ac6c5ad4dff4ba91cdfc48c676302 100644 (file)
@@ -47,7 +47,6 @@ defmodule Pleroma.Web.PleromaAPI.AccountController do
   plug(RateLimiter, [name: :account_confirmation_resend] when action == :confirmation_resend)
 
   plug(:assign_account_by_id when action in [:favourites, :subscribe, :unsubscribe])
-  plug(:put_view, Pleroma.Web.MastodonAPI.AccountView)
 
   defdelegate open_api_operation(action), to: Pleroma.Web.ApiSpec.PleromaAccountOperation