mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(Execute Workflow Node): Fallback to Passthrough explicitly to avoid exception (no-changelog) (#12384)
This commit is contained in:
parent
f609371257
commit
8dd4f1aea9
|
@ -66,7 +66,7 @@ function parseJsonExample(context: IWorkflowNodeContext): JSONSchema7 {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getFieldEntries(context: IWorkflowNodeContext): FieldValueOption[] {
|
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';
|
let result: FieldValueOption[] | string = 'Internal Error: Invalid input source';
|
||||||
try {
|
try {
|
||||||
if (inputSource === WORKFLOW_INPUTS) {
|
if (inputSource === WORKFLOW_INPUTS) {
|
||||||
|
|
Loading…
Reference in a new issue