summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadposter <hannah+pleroma@coffee-and-dreams.uk>2019-11-26 18:33:15 +0000
committerSadposter <hannah+pleroma@coffee-and-dreams.uk>2019-11-26 18:33:15 +0000
commitae0e2446f7393c3692945318c115d2266878c7d4 (patch)
tree528e3099216688cb101f3f692011074223797741
parent0c79869932fe00fe134979a1388dcd666aa0a076 (diff)
obligatory format commit
-rw-r--r--lib/pleroma/web/pleroma_api/controllers/account_controller.ex7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/pleroma/web/pleroma_api/controllers/account_controller.ex b/lib/pleroma/web/pleroma_api/controllers/account_controller.ex
index cc010d35e..a704d1f31 100644
--- a/lib/pleroma/web/pleroma_api/controllers/account_controller.ex
+++ b/lib/pleroma/web/pleroma_api/controllers/account_controller.ex
@@ -43,7 +43,12 @@ 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, :whitelist, :unwhitelist])
+
+ plug(
+ :assign_account_by_id
+ when action in [:favourites, :subscribe, :unsubscribe, :whitelist, :unwhitelist]
+ )
+
plug(:put_view, Pleroma.Web.MastodonAPI.AccountView)
@doc "POST /api/v1/pleroma/accounts/confirmation_resend"