Skip to content

Commit

Permalink
Merge pull request #70 from flow-build/69-corrigira-validação-do-tipo…
Browse files Browse the repository at this point in the history
…-de-nó-para-um-flow-node

fix: force type toLowerCase
  • Loading branch information
gharamura authored Sep 6, 2022
2 parents 5366693 + 89cf583 commit 1dbf127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validators/workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1dbf127

Please sign in to comment.