fix oauth scopes for AdminApi#reports_update
This commit is contained in:
parent
10ce7185c2
commit
385356aad0
2 changed files with 25 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ defmodule Pleroma.Web.AdminAPI.AdminAPIController do
|
|||
plug(
|
||||
OAuthScopesPlug,
|
||||
%{scopes: ["write:reports"], admin: true}
|
||||
when action in [:report_update_state, :report_respond]
|
||||
when action in [:reports_update]
|
||||
)
|
||||
|
||||
plug(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue