From fb755db9bd62b8b2999d8b1e3b7e559de43d3cd0 Mon Sep 17 00:00:00 2001 From: Alex Grozav Date: Wed, 2 Aug 2023 14:19:01 +0300 Subject: [PATCH] fix: Fix replacing node empty string value with default value (no-changelog) (#6832) fix: fix replacing node empty string value with default value --- packages/workflow/src/NodeHelpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/workflow/src/NodeHelpers.ts b/packages/workflow/src/NodeHelpers.ts index 453b32535a..9a09d506d0 100644 --- a/packages/workflow/src/NodeHelpers.ts +++ b/packages/workflow/src/NodeHelpers.ts @@ -635,7 +635,7 @@ export function getNodeParameters( : { __rl: true, ...nodeProperties.default }; } else { nodeParameters[nodeProperties.name] = - nodeValues[nodeProperties.name] || nodeProperties.default; + nodeValues[nodeProperties.name] ?? nodeProperties.default; } nodeParametersFull[nodeProperties.name] = nodeParameters[nodeProperties.name]; } else if (