From 8366632268752961f8022461951c9428f4277228 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Sat, 10 Oct 2020 18:23:02 +0200 Subject: [PATCH] :bug: Fix bug with missing credentials with CLI execute --- packages/cli/commands/execute.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/cli/commands/execute.ts b/packages/cli/commands/execute.ts index 3eb5956e9d..b3450e9ef2 100644 --- a/packages/cli/commands/execute.ts +++ b/packages/cli/commands/execute.ts @@ -10,6 +10,7 @@ import { import { ActiveExecutions, CredentialsOverwrites, + CredentialTypes, Db, ExternalHooks, GenericHelpers, @@ -116,6 +117,8 @@ export class Execute extends Command { // Add the found types to an instance other parts of the application can use const nodeTypes = NodeTypes(); await nodeTypes.init(loadNodesAndCredentials.nodeTypes); + const credentialTypes = CredentialTypes(); + await credentialTypes.init(loadNodesAndCredentials.credentialTypes); if (!WorkflowHelpers.isWorkflowIdValid(workflowId)) { workflowId = undefined;