Removed useless console logs.
This commit is contained in:
parent
055885837c
commit
d011571164
@ -35,15 +35,12 @@ export class ConnectionCallbackComponent implements OnInit {
|
|||||||
return;
|
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({
|
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) => {
|
next: async (d: any) => {
|
||||||
const data = d.data;
|
const data = d.data;
|
||||||
this.success = true;
|
this.success = true;
|
||||||
|
|
||||||
console.log('about to wait for 2 seconds')
|
|
||||||
await setTimeout(async () => {
|
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);
|
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'])
|
await this.router.navigate(['connections'])
|
||||||
}, 2000)
|
}, 2000)
|
||||||
|
@ -17,7 +17,6 @@ export class ApiKeyService {
|
|||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.events.listen('tts_logoff', (impersonation) => {
|
this.events.listen('tts_logoff', (impersonation) => {
|
||||||
console.log('tts_logoff triggered:', impersonation);
|
|
||||||
if (impersonation) {
|
if (impersonation) {
|
||||||
this.keys = [];
|
this.keys = [];
|
||||||
this.loaded = false;
|
this.loaded = false;
|
||||||
@ -25,7 +24,6 @@ export class ApiKeyService {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.events.listen('logoff', () => {
|
this.events.listen('logoff', () => {
|
||||||
console.log('logoff triggered');
|
|
||||||
this.keys = [];
|
this.keys = [];
|
||||||
this.loaded = false;
|
this.loaded = false;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user