obligatory format commit
This commit is contained in:
parent
0c79869932
commit
ae0e2446f7
@ -43,7 +43,12 @@ defmodule Pleroma.Web.PleromaAPI.AccountController do
|
|||||||
)
|
)
|
||||||
|
|
||||||
plug(RateLimiter, [name: :account_confirmation_resend] when action == :confirmation_resend)
|
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)
|
plug(:put_view, Pleroma.Web.MastodonAPI.AccountView)
|
||||||
|
|
||||||
@doc "POST /api/v1/pleroma/accounts/confirmation_resend"
|
@doc "POST /api/v1/pleroma/accounts/confirmation_resend"
|
||||||
|
Loading…
Reference in New Issue
Block a user