Commit d72876c5 authored by Ivan Tashkinov's avatar Ivan Tashkinov

[#1041] Minor refactoring.

parent b74d11e2
......@@ -47,9 +47,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
require Logger
@rate_limited_status_crud_actions ~w(post_status delete_status)a
@rate_limited_status_reactions ~w(reblog_status unreblog_status fav_status unfav_status)a
@rate_limited_status_actions @rate_limited_status_crud_actions ++ @rate_limited_status_reactions
@rate_limited_status_actions ~w(reblog_status unreblog_status fav_status unfav_status
post_status delete_status)a
plug(
RateLimiter,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment