From a35e504e8f6ebffb4359ebf395bb8fbfd9a0919a Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Mon, 16 Dec 2024 15:07:06 +0000 Subject: [PATCH] PR comment. --- packages/server/src/api/controllers/webhook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/api/controllers/webhook.ts b/packages/server/src/api/controllers/webhook.ts index 6fbf873f4d..11bcb06362 100644 --- a/packages/server/src/api/controllers/webhook.ts +++ b/packages/server/src/api/controllers/webhook.ts @@ -67,7 +67,7 @@ export async function buildSchema( body: autoOutputs.properties.body, } for (let prop of Object.keys(properties || {})) { - if (!properties?.[prop]) { + if (properties?.[prop] == null) { continue } const def = properties[prop]