Merge branch 'fix/chats-no-unread-in-openapi' into 'develop'
[akkoma] / lib / pleroma / web / admin_api / controllers / o_auth_app_controller.ex
index 2bd2b3644ad78fabf040ec13642802f8067884f4..005fe67e2883a218127f5404a7b77f153c79ae5d 100644 (file)
@@ -17,7 +17,7 @@ defmodule Pleroma.Web.AdminAPI.OAuthAppController do
 
   plug(
     OAuthScopesPlug,
-    %{scopes: ["write"], admin: true}
+    %{scopes: ["admin:write"]}
     when action in [:create, :index, :update, :delete]
   )