From c19ef16a065b43dd7676cf3778be884297492742 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Sun, 24 Sep 2023 19:53:56 +0200 Subject: [PATCH] chore: make lint happy --- packages/backend/src/server/oauth/OAuth2ProviderService.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/backend/src/server/oauth/OAuth2ProviderService.ts b/packages/backend/src/server/oauth/OAuth2ProviderService.ts index a7e2ea50b1..973f9c1eb4 100644 --- a/packages/backend/src/server/oauth/OAuth2ProviderService.ts +++ b/packages/backend/src/server/oauth/OAuth2ProviderService.ts @@ -14,7 +14,6 @@ import type { FastifyInstance } from 'fastify'; @Injectable() export class OAuth2ProviderService { - constructor( /* @Inject(DI.config) private config: Config, */ @@ -64,7 +63,6 @@ export class OAuth2ProviderService { const BASE_URL = `${request.protocol}://${request.hostname}`; const generator = (megalodon as any).default; const client = generator(BASE_URL, null) as MegalodonInterface; - let m = null; let token = null; if (body.code) { //m = body.code.match(/^([a-zA-Z0-9]{8})([a-zA-Z0-9]{4})([a-zA-Z0-9]{4})([a-zA-Z0-9]{4})([a-zA-Z0-9]{12})/);