From 129cc4408a3591ded0ce05d75d11be06078854f5 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Wed, 14 Feb 2024 23:56:11 +0100 Subject: [PATCH] [mastodon-client] Register full OAuth scopes as well --- packages/backend/src/server/api/mastodon/helpers/auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/server/api/mastodon/helpers/auth.ts b/packages/backend/src/server/api/mastodon/helpers/auth.ts index 2429af41b..ae6c13270 100644 --- a/packages/backend/src/server/api/mastodon/helpers/auth.ts +++ b/packages/backend/src/server/api/mastodon/helpers/auth.ts @@ -213,8 +213,8 @@ export class AuthHelpers { res.push(...this.writeScopes); else if (scope === "follow") res.push(...this.followScopes); - else - res.push(scope); + + res.push(scope); } return unique(res);