chore: make lint happy
This commit is contained in:
parent
c782085af4
commit
c19ef16a06
|
@ -14,7 +14,6 @@ import type { FastifyInstance } from 'fastify';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class OAuth2ProviderService {
|
export class OAuth2ProviderService {
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
/* @Inject(DI.config)
|
/* @Inject(DI.config)
|
||||||
private config: Config, */
|
private config: Config, */
|
||||||
|
@ -64,7 +63,6 @@ export class OAuth2ProviderService {
|
||||||
const BASE_URL = `${request.protocol}://${request.hostname}`;
|
const BASE_URL = `${request.protocol}://${request.hostname}`;
|
||||||
const generator = (megalodon as any).default;
|
const generator = (megalodon as any).default;
|
||||||
const client = generator(BASE_URL, null) as MegalodonInterface;
|
const client = generator(BASE_URL, null) as MegalodonInterface;
|
||||||
let m = null;
|
|
||||||
let token = null;
|
let token = null;
|
||||||
if (body.code) {
|
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})/);
|
//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})/);
|
||||||
|
|
Loading…
Reference in New Issue