@vgroup/dialbox 0.2.52 → 0.2.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -588,11 +588,11 @@ class ExtensionService {
588
588
  getConferenceCallToken(payload) {
589
589
  const params = {
590
590
  'Content-Type': 'application/json',
591
- 'Auth-Key': "Bearer " + localStorage.getItem('ext_token'),
591
+ 'Auth-Key': payload.authId,
592
592
  'c2c-request': window.location.hostname
593
593
  };
594
594
  const httpOptions = { headers: new HttpHeaders(params) };
595
- return this.http.post(environment.apiUrl + '/utilities/ext/ur/generate/conference/token', params, httpOptions);
595
+ return this.http.post(environment.apiUrl + '/utilities/ext/ur/generate/conference/token', payload, httpOptions);
596
596
  }
597
597
  // getConferenceCallToken(payload: any) {
598
598
  // console.log(payload, 'payload');