From 413fa63093e082f04ffc7a91c57a99d8e385976d Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Sun, 4 Jun 2023 18:03:42 +0200 Subject: [PATCH] remove needless `as any` --- packages/backend/src/server/oauth/OAuth2ProviderService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/oauth/OAuth2ProviderService.ts b/packages/backend/src/server/oauth/OAuth2ProviderService.ts index 591c55b33..d6c444893 100644 --- a/packages/backend/src/server/oauth/OAuth2ProviderService.ts +++ b/packages/backend/src/server/oauth/OAuth2ProviderService.ts @@ -286,7 +286,7 @@ export class OAuth2ProviderService { return await reply.view('oauth', { transactionId: oauth2.transactionID, clientName: oauth2.client.name, - scope: (oauth2.req.scope as any as string[]).join(' '), + scope: oauth2.req.scope.join(' '), }); }); fastify.post('/oauth/decision', async () => { });