mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
⚡ Fix small issue
This commit is contained in:
parent
e19cd9c118
commit
35c149c7b1
|
@ -113,9 +113,9 @@ class LoadNodesAndCredentialsClass {
|
|||
if (isNpmScopedPackage) {
|
||||
results.push(...await getN8nNodePackagesRecursive(`${relativePath}${file}/`));
|
||||
}
|
||||
}
|
||||
}
|
||||
return results;
|
||||
}
|
||||
};
|
||||
return getN8nNodePackagesRecursive('');
|
||||
}
|
||||
|
||||
|
|
|
@ -563,7 +563,7 @@ class App {
|
|||
|
||||
const nodeTypes = NodeTypes();
|
||||
|
||||
const loadDataInstance = new LoadNodeParameterOptions(nodeType, nodeTypes, credentials);
|
||||
const loadDataInstance = new LoadNodeParameterOptions(nodeType, nodeTypes, credentials!);
|
||||
|
||||
const workflowData = loadDataInstance.getWorkflowData() as IWorkflowBase;
|
||||
const workflowCredentials = await WorkflowCredentials(workflowData.nodes);
|
||||
|
|
Loading…
Reference in a new issue