redisable the oauth logger

This commit is contained in:
Evert Prants 2022-09-15 19:23:07 +03:00
parent bfdfb2550c
commit 5769eca8ee
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
1 changed files with 3 additions and 3 deletions

View File

@ -69,9 +69,9 @@ export class OAuth2Service {
public clientService: OAuth2ClientService,
public tokenService: OAuth2TokenService,
) {
if (process.env.NODE_ENV === 'development') {
this.oauth.logger.setLogLevel('debug');
}
// if (process.env.NODE_ENV === 'development') {
// this.oauth.logger.setLogLevel('debug');
// }
}
public splitScope(scope: string | string[]): string[] {