diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2019-12-24 20:45:46 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2019-12-24 20:51:52 +0300 |
commit | 385356aad0dd7eac0695bb1597ba1e52b5f17b40 (patch) | |
tree | 8acb34cdf145fc4823beabf42e5b17ac0cded18f /lib | |
parent | 10ce7185c22ffe397329fb554b0a6704bcf2b881 (diff) | |
download | pleroma-385356aad0dd7eac0695bb1597ba1e52b5f17b40.tar.gz |
fix oauth scopes for AdminApi#reports_update
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/admin_api/admin_api_controller.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/admin_api/admin_api_controller.ex b/lib/pleroma/web/admin_api/admin_api_controller.ex index c8abeff06..ddae139c6 100644 --- a/lib/pleroma/web/admin_api/admin_api_controller.ex +++ b/lib/pleroma/web/admin_api/admin_api_controller.ex @@ -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( |