From c651f879e8a2c6188a77cb7fa4c7ce146ed798c3 Mon Sep 17 00:00:00 2001 From: Charlie Kolb Date: Fri, 27 Dec 2024 12:42:30 +0100 Subject: [PATCH] Fallback to Passthrough to avoid exception --- .../utils/workflowInputsResourceMapping/GenericFunctions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/utils/workflowInputsResourceMapping/GenericFunctions.ts b/packages/nodes-base/utils/workflowInputsResourceMapping/GenericFunctions.ts index ba1c17f315c79..964dc7b179a4a 100644 --- a/packages/nodes-base/utils/workflowInputsResourceMapping/GenericFunctions.ts +++ b/packages/nodes-base/utils/workflowInputsResourceMapping/GenericFunctions.ts @@ -66,7 +66,7 @@ function parseJsonExample(context: IWorkflowNodeContext): JSONSchema7 { } export function getFieldEntries(context: IWorkflowNodeContext): FieldValueOption[] { - const inputSource = context.getNodeParameter(INPUT_SOURCE, 0); + const inputSource = context.getNodeParameter(INPUT_SOURCE, 0, PASSTHROUGH); let result: FieldValueOption[] | string = 'Internal Error: Invalid input source'; try { if (inputSource === WORKFLOW_INPUTS) {