remove needless as any

This commit is contained in:
Kagami Sascha Rosylight 2023-06-04 18:03:42 +02:00
parent 347a4a0b93
commit 413fa63093

View file

@ -286,7 +286,7 @@ export class OAuth2ProviderService {
return await reply.view('oauth', { return await reply.view('oauth', {
transactionId: oauth2.transactionID, transactionId: oauth2.transactionID,
clientName: oauth2.client.name, clientName: oauth2.client.name,
scope: (oauth2.req.scope as any as string[]).join(' '), scope: oauth2.req.scope.join(' '),
}); });
}); });
fastify.post('/oauth/decision', async () => { }); fastify.post('/oauth/decision', async () => { });