Skip to content

Commit

Permalink
log 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Panico committed Jun 7, 2024
1 parent 168f8e7 commit 8d66626
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/chat21-core/providers/tiledesk/tiledesk-auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ export class TiledeskAuthService {
});
const requestOptions = { headers: headers };
const that = this;
console.log('signInWithCustomToken--> outttt', this.URL_TILEDESK_SIGNIN_WITH_CUSTOM_TOKEN, that.URL_TILEDESK_SIGNIN_WITH_CUSTOM_TOKEN)
console.log('signInWithCustomToken--> outttt', this.SERVER_BASE_URL, this.URL_TILEDESK_SIGNIN_WITH_CUSTOM_TOKEN, that.URL_TILEDESK_SIGNIN_WITH_CUSTOM_TOKEN)
return new Promise((resolve, reject) => {
console.log('signInWithCustomToken-->', this.URL_TILEDESK_SIGNIN_WITH_CUSTOM_TOKEN, that.URL_TILEDESK_SIGNIN_WITH_CUSTOM_TOKEN)
that.http.post('http://35.198.150.252/api/auth/signinWithCustomToken', null, requestOptions).subscribe({next: (data)=>{
console.log('signInWithCustomToken-->', that.SERVER_BASE_URL, this.URL_TILEDESK_SIGNIN_WITH_CUSTOM_TOKEN, that.URL_TILEDESK_SIGNIN_WITH_CUSTOM_TOKEN)
that.http.post( that.SERVER_BASE_URL + '/auth/signinWithCustomToken', null, requestOptions).subscribe({next: (data)=>{
if (data['success'] && data['token']) {
that.tiledeskToken = data['token'];
that.createCompleteUser(data['user']);
Expand Down

0 comments on commit 8d66626

Please sign in to comment.