Skip to content

Commit

Permalink
[VAS-812] feat: Updated handlers.js
Browse files Browse the repository at this point in the history
  • Loading branch information
alessio-cialini committed Mar 7, 2024
1 parent 64bd145 commit 69f53ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/pdf-generate/handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const waitForRender = async (page, timeout = 30000) => {
}

lastSize = currentSize;
await page.waitForTimeout(checkInterval);
await new Promise(r => setTimeout(r, checkInterval))
}
};

Expand Down

0 comments on commit 69f53ab

Please sign in to comment.