From 89cf5837f0291f2db3bae8d001490240ad97af86 Mon Sep 17 00:00:00 2001 From: Gustavo Haramura Date: Mon, 5 Sep 2022 19:58:23 -0300 Subject: [PATCH] fix: force type toLowerCase --- src/validators/workflow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validators/workflow.js b/src/validators/workflow.js index de16efc..1b0963d 100644 --- a/src/validators/workflow.js +++ b/src/validators/workflow.js @@ -102,7 +102,7 @@ validateConnections = async (ctx, next) => { }); const nodeConnections = blueprintSpec.nodes.map(async (node) => { - if (node.type === "Flow") { + if (node.type.toLowerCase() === "flow") { const next = Object.values(node.next); return { id: node.id,