diff --git a/packages/geek-auto-start-chat-with-boss/index.mjs b/packages/geek-auto-start-chat-with-boss/index.mjs index 3dc55be..df51dfd 100644 --- a/packages/geek-auto-start-chat-with-boss/index.mjs +++ b/packages/geek-auto-start-chat-with-boss/index.mjs @@ -1282,7 +1282,7 @@ export async function mainLoop (hooks) { } await setDomainLocalStorage(browser, localStoragePageUrl, bossLocalStorage) await page.bringToFront() - await hooks.mainFlowWillLaunch?.callAsync({ + await hooks.mainFlowWillLaunch?.promise({ jobNotMatchStrategy, jobNotActiveStrategy, expectCityNotMatchStrategy,