Skip to content

Commit a30f8c2

Browse files
committed
fix prewebhook lookup
1 parent 5956730 commit a30f8c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/lib/webhooks/processor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export function handlePreLookupWebhookVerification(
203203
const isVerificationProbe =
204204
method === 'GET' ||
205205
method === 'HEAD' ||
206-
(method === 'POST' && (!body || Object.keys(body).length === 0))
206+
(method === 'POST' && (!body || Object.keys(body).length === 0 || !body.type))
207207

208208
if (!isVerificationProbe) {
209209
return null

0 commit comments

Comments
 (0)