From d5d54f5769ec3212c7cc8dac64194548cf680db0 Mon Sep 17 00:00:00 2001 From: SevicheCC <91365763+Sevichecc@users.noreply.github.com> Date: Thu, 8 Jun 2023 22:58:36 +0800 Subject: [PATCH] fix: pleroma admin type --- lib/scopes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scopes.ts b/lib/scopes.ts index 545d675..1ec1fe2 100644 --- a/lib/scopes.ts +++ b/lib/scopes.ts @@ -72,7 +72,7 @@ const PLEROMA_ADMIN_READ_SCOPES = [ "admin:read:media_proxy_caches", ]; const PLEROMA_ADMIN_WRITE_SCOPES = [ - ...ADMIN_READ_SCOPES, + ...ADMIN_WRITE_SCOPES, "admin:write:chats", "admin:write:invites", "admin:write:statuses",