mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(core): Extract load-options context out of NodeExecutionFunctions (no-changelog) (#11461)
This commit is contained in:
committed by
GitHub
parent
a092b8e972
commit
da18e1ad29
@@ -1,4 +1,4 @@
|
||||
import { NodeExecuteFunctions } from 'n8n-core';
|
||||
import { LoadOptionsContext, NodeExecuteFunctions } from 'n8n-core';
|
||||
import type {
|
||||
ILoadOptions,
|
||||
ILoadOptionsFunctions,
|
||||
@@ -253,6 +253,6 @@ export class DynamicNodeParametersService {
|
||||
workflow: Workflow,
|
||||
) {
|
||||
const node = workflow.nodes['Temp-Node'];
|
||||
return NodeExecuteFunctions.getLoadOptionsFunctions(workflow, node, path, additionalData);
|
||||
return new LoadOptionsContext(workflow, node, additionalData, path);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user