From a0e7404d25c8675ba29a8b1a438856baa6ba749f Mon Sep 17 00:00:00 2001 From: amhsirak Date: Fri, 7 Mar 2025 22:46:47 +0530 Subject: [PATCH] feat: get active browser id <-> backward compatibility --- server/src/browser-management/classes/BrowserPool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/browser-management/classes/BrowserPool.ts b/server/src/browser-management/classes/BrowserPool.ts index 77c3a637..4bbc97af 100644 --- a/server/src/browser-management/classes/BrowserPool.ts +++ b/server/src/browser-management/classes/BrowserPool.ts @@ -301,7 +301,7 @@ export class BrowserPool { * @returns the first remote active browser instance's id from the pool * @deprecated Use getBrowserIdForUser instead to enforce the 1 User - 1 Browser policy */ - public getActiveBrowserIdDep = (): string | null => { + public getActiveBrowserIdLegacy = (): string | null => { for (const id of Object.keys(this.pool)) { if (this.pool[id].active) { return id;