mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
fix(core): Pass correct node reference to NodeExecuteFunctions.getLoadOptionsFunctions (no-changelog) (#7779)
NODE-947
This commit is contained in:
parent
3c56404f96
commit
db77353272
|
@ -67,7 +67,7 @@ export class DynamicNodeParametersService {
|
|||
const connectionInputData: INodeExecutionData[] = [];
|
||||
const runExecutionData: IRunExecutionData = { resultData: { runData: {} } };
|
||||
const workflow = this.getWorkflow(nodeTypeAndVersion, currentNodeParameters, credentials);
|
||||
const node = workflow.nodes[0];
|
||||
const node = workflow.nodes['Temp-Node'];
|
||||
|
||||
const routingNode = new RoutingNode(
|
||||
workflow,
|
||||
|
@ -224,7 +224,7 @@ export class DynamicNodeParametersService {
|
|||
additionalData: IWorkflowExecuteAdditionalData,
|
||||
workflow: Workflow,
|
||||
) {
|
||||
const node = Object.values(workflow.nodes)[0];
|
||||
const node = workflow.nodes['Temp-Node'];
|
||||
return NodeExecuteFunctions.getLoadOptionsFunctions(workflow, node, path, additionalData);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue