forked from AkkomaGang/akkoma
[#1041] Minor refactoring.
This commit is contained in:
parent
b74d11e20a
commit
d72876c57d
1 changed files with 2 additions and 3 deletions
|
@ -47,9 +47,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
|
||||||
|
|
||||||
require Logger
|
require Logger
|
||||||
|
|
||||||
@rate_limited_status_crud_actions ~w(post_status delete_status)a
|
@rate_limited_status_actions ~w(reblog_status unreblog_status fav_status unfav_status
|
||||||
@rate_limited_status_reactions ~w(reblog_status unreblog_status fav_status unfav_status)a
|
post_status delete_status)a
|
||||||
@rate_limited_status_actions @rate_limited_status_crud_actions ++ @rate_limited_status_reactions
|
|
||||||
|
|
||||||
plug(
|
plug(
|
||||||
RateLimiter,
|
RateLimiter,
|
||||||
|
|
Loading…
Reference in a new issue