fix(core): Ensure nodes post-processors run in the correct order (#7500)

Fixes #7497
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-10-25 13:59:38 +02:00
committed by GitHub
parent c47d27dd6d
commit 6f45298d3d
4 changed files with 38 additions and 37 deletions

View File

@@ -107,10 +107,8 @@ class WorkflowRunnerProcess {
// Init db since we need to read the license.
await Db.init();
const loadNodesAndCredentials = Container.get(LoadNodesAndCredentials);
await loadNodesAndCredentials.init();
const nodeTypes = Container.get(NodeTypes);
await Container.get(LoadNodesAndCredentials).init();
// Load all external hooks
const externalHooks = Container.get(ExternalHooks);