Skip to content

Commit

Permalink
fix: add tabid to session call
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan-niculescu-sch committed Apr 15, 2024
1 parent 4a661b7 commit 8ade01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/identity.js
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ export class Identity extends EventEmitter {
}
let sessionData = null;
try {
sessionData = await this._sessionService.get('/v2/session');
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

0 comments on commit 8ade01a

Please sign in to comment.