Merge branch 'fix-admin-api-scope' into 'develop'
[akkoma] / lib / pleroma / web / admin_api / admin_api_controller.ex
index 529169c1b3d348e560701883d0929b7f95b25704..c9d7ab867c7623be5b521c5cbc00a0998b7896f1 100644 (file)
@@ -75,7 +75,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(