Removed useless console logs.
This commit is contained in:
parent
055885837c
commit
d011571164
@ -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)
|
||||
|
@ -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;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user