diff --git a/src/proxy/reflect4.ts b/src/proxy/reflect4.ts index b575a2a..9f8386e 100644 --- a/src/proxy/reflect4.ts +++ b/src/proxy/reflect4.ts @@ -26,7 +26,7 @@ async function spawn(context: BrowserContext, targetUrl: string) { await targetInput.press("Enter"); // Keep-alive the page open for 5 minutes then refresh if (targetUrl.startsWith("https://www.twitch.tv/")) { - twitch.keepAlive(page, spawnId); + await twitch.keepAlive(page, spawnId); } else { logger.warn(`[${spawnId}] Unsupported URL: ${targetUrl}`); logger.warn(`[${spawnId}] Will try to keep alive, but no guarantees`);