From e57d95553081b57d565789308e4d639f8b70b020 Mon Sep 17 00:00:00 2001 From: niculescu-bogdan-constantin Date: Mon, 15 Apr 2024 13:55:11 +0200 Subject: [PATCH] fix: add tabid to session call --- src/identity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/identity.js b/src/identity.js index ddfce1b..98d1a7f 100644 --- a/src/identity.js +++ b/src/identity.js @@ -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);