Skip to content

Commit

Permalink
bug: fix on some calls path is not respected
Browse files Browse the repository at this point in the history
ref: UUI-2540
  • Loading branch information
bogdan-niculescu-sch committed Dec 9, 2024
1 parent 0213a44 commit 2aafb88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/identity.js
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ export class Identity extends EventEmitter {
}
let sessionData = null;
try {
sessionData = await this._sessionService.get('/v2/session', {tabId: this._getTabId()});
sessionData = await this._sessionService.get('v2/session', {tabId: this._getTabId()});
} catch (err) {
if (err && err.code === 400 && this._enableSessionCaching) {
const expiresIn = 1000 * (err.expiresIn || 300);
Expand Down Expand Up @@ -827,7 +827,7 @@ export class Identity extends EventEmitter {
*/
async getUserContextData() {
try {
return await this._globalSessionService.get('/user-context');
return await this._globalSessionService.get('user-context');
} catch (_) {
return null;
}
Expand Down

0 comments on commit 2aafb88

Please sign in to comment.