From 19e6075f54096940c77d3e4a1c7c55d9f410c8be Mon Sep 17 00:00:00 2001 From: Anbarasu Date: Wed, 2 Aug 2023 14:57:36 +0530 Subject: [PATCH] fix: test webhook on condition --- packages/nocodb/src/helpers/webhookHelpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/helpers/webhookHelpers.ts b/packages/nocodb/src/helpers/webhookHelpers.ts index c0fc56a448..400db86b71 100644 --- a/packages/nocodb/src/helpers/webhookHelpers.ts +++ b/packages/nocodb/src/helpers/webhookHelpers.ts @@ -271,7 +271,7 @@ export async function invokeWebhook( return; } - if (hook.condition) { + if (hook.condition && !testHook) { if (isBulkOperation) { const filteredData = []; for (const data of newData) {