@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.
@@ -589,11 +589,11 @@ class ExtensionService {
589
589
  getConferenceCallToken(payload) {
590
590
  const params = {
591
591
  'Content-Type': 'application/json',
592
- 'Auth-Key': "Bearer " + localStorage.getItem('ext_token'),
592
+ 'Auth-Key': payload.authId,
593
593
  'c2c-request': window.location.hostname
594
594
  };
595
595
  const httpOptions = { headers: new HttpHeaders(params) };
596
- return this.http.post(environment.apiUrl + '/utilities/ext/ur/generate/conference/token', params, httpOptions);
596
+ return this.http.post(environment.apiUrl + '/utilities/ext/ur/generate/conference/token', payload, httpOptions);
597
597
  }
598
598
  // getConferenceCallToken(payload: any) {
599
599
  // console.log(payload, 'payload');