🔀 Merge branch 'external-hooks'

This commit is contained in:
Jan Oberhauser
2020-06-10 13:02:45 +02:00
9 changed files with 159 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ import {
ActiveExecutions,
CredentialsOverwrites,
Db,
ExternalHooks,
GenericHelpers,
IWorkflowBase,
IWorkflowExecutionDataProcess,
@@ -108,6 +109,10 @@ export class Execute extends Command {
const credentialsOverwrites = CredentialsOverwrites();
await credentialsOverwrites.init();
// Load all external hooks
const externalHooks = ExternalHooks();
await externalHooks.init();
// Add the found types to an instance other parts of the application can use
const nodeTypes = NodeTypes();
await nodeTypes.init(loadNodesAndCredentials.nodeTypes);