Skip to content

Commit 3813931

Browse files
committed
fix(triggers): increase Zoom timestamp tolerance to 300s per Zoom docs
1 parent 1c15918 commit 3813931

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/lib/webhooks/providers

1 file changed

+1
-1
lines changed

apps/sim/lib/webhooks/providers/zoom.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function validateZoomSignature(
3131

3232
const nowSeconds = Math.floor(Date.now() / 1000)
3333
const requestSeconds = Number.parseInt(timestamp, 10)
34-
if (Number.isNaN(requestSeconds) || Math.abs(nowSeconds - requestSeconds) > 30) {
34+
if (Number.isNaN(requestSeconds) || Math.abs(nowSeconds - requestSeconds) > 300) {
3535
return false
3636
}
3737

0 commit comments

Comments
 (0)