From 7144790a8030bce756b6cee147bc7198b0c53c4a Mon Sep 17 00:00:00 2001 From: saif Date: Fri, 24 Jan 2025 12:20:52 +0500 Subject: [PATCH] added timeouts --- sync-orders.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sync-orders.js b/sync-orders.js index 83a9e87..463aefd 100644 --- a/sync-orders.js +++ b/sync-orders.js @@ -203,8 +203,8 @@ const utils = require("./utils"); await divs[0].click(); } - // wait 60 seconds - await new Promise((resolve) => setTimeout(resolve, 60 * 1000)); + // wait 60 seconds + await new Promise((resolve) => setTimeout(resolve, 60 * 1000)); // take screenshot var screenshotPath = path.join(