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]