From 5ed1caece64f294a579aeacd413d83f2710c604f Mon Sep 17 00:00:00 2001 From: guillim Date: Mon, 2 Dec 2024 18:52:25 +0100 Subject: [PATCH] consolelog --- .../auth/guards/google-apis-oauth-request-code.guard.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/twenty-server/src/engine/core-modules/auth/guards/google-apis-oauth-request-code.guard.ts b/packages/twenty-server/src/engine/core-modules/auth/guards/google-apis-oauth-request-code.guard.ts index 2c63ba38f86d..b6e579302563 100644 --- a/packages/twenty-server/src/engine/core-modules/auth/guards/google-apis-oauth-request-code.guard.ts +++ b/packages/twenty-server/src/engine/core-modules/auth/guards/google-apis-oauth-request-code.guard.ts @@ -41,7 +41,6 @@ export class GoogleAPIsOauthRequestCodeGuard extends AuthGuard('google-apis') { !this.environmentService.get('MESSAGING_PROVIDER_GMAIL_ENABLED') && !this.environmentService.get('CALENDAR_PROVIDER_GOOGLE_ENABLED') ) { - console.log('canActivate: Google apis auth is not enabled'); throw new EnvironmentException( 'Google apis auth is not enabled', EnvironmentExceptionCode.ENVIRONMENT_VARIABLES_NOT_FOUND,