feat: get browser from id

This commit is contained in:
Rohit
2025-03-30 00:23:16 +05:30
parent b2cd7c7bc2
commit 10970b563c

View File

@@ -114,7 +114,7 @@ async function executeRun(id: string, userId: string) {
plainRun.status = 'running';
const browser = browserPool.getRemoteBrowser(userId);
const browser = browserPool.getRemoteBrowser(plainRun.browserId);
if (!browser) {
throw new Error('Could not access browser');
}