From d01157116454de0215e876191ff0bbdce84b1d35 Mon Sep 17 00:00:00 2001 From: Tom Date: Tue, 1 Apr 2025 21:12:56 +0000 Subject: [PATCH] Removed useless console logs. --- src/app/connections/callback/callback.component.ts | 3 --- src/app/shared/services/api/api-key.service.ts | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/app/connections/callback/callback.component.ts b/src/app/connections/callback/callback.component.ts index 8913052..a5930a9 100644 --- a/src/app/connections/callback/callback.component.ts +++ b/src/app/connections/callback/callback.component.ts @@ -35,15 +35,12 @@ export class ConnectionCallbackComponent implements OnInit { return; } - console.log(params); this.http.get(`${environment.API_HOST}/auth/connections?token=${params['access_token']}&state=${params['state']}&expires_in=${params['expires_in']}`).subscribe({ next: async (d: any) => { const data = d.data; this.success = true; - console.log('about to wait for 2 seconds') await setTimeout(async () => { - console.log('create connection') this.client.createConnection(data.connection.name, data.connection.type, data.connection.clientId, params['access_token'], data.connection.grantType, params['scope'], data.expires_at); await this.router.navigate(['connections']) }, 2000) diff --git a/src/app/shared/services/api/api-key.service.ts b/src/app/shared/services/api/api-key.service.ts index 25efc1f..de2d310 100644 --- a/src/app/shared/services/api/api-key.service.ts +++ b/src/app/shared/services/api/api-key.service.ts @@ -17,7 +17,6 @@ export class ApiKeyService { constructor() { this.events.listen('tts_logoff', (impersonation) => { - console.log('tts_logoff triggered:', impersonation); if (impersonation) { this.keys = []; this.loaded = false; @@ -25,7 +24,6 @@ export class ApiKeyService { }); this.events.listen('logoff', () => { - console.log('logoff triggered'); this.keys = []; this.loaded = false; });