Skip to content

Commit

Permalink
Merge pull request #1211 from contentstack/fix/CS-43071
Browse files Browse the repository at this point in the history
fix: workflow update failure issue
  • Loading branch information
aman19K authored Dec 12, 2023
2 parents 6f6dd11 + f3739b1 commit 01f26f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ module.exports = class importWorkflows {
name: workflow.name,
branches: workflow.branches,
workflow_stages: newWorkflowStages,
content_types: workflow.content_types
});
return updateWorkflow.update();
}
Expand Down
3 changes: 2 additions & 1 deletion packages/contentstack-import/src/import/modules/workflows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,9 @@ export default class ImportWorkflows extends BaseClass {
name: workflow.name,
branches: workflow.branches,
workflow_stages: newWorkflowStages,
content_types: workflow.content_types
});

return updateWorkflow.update();
}

Expand Down

0 comments on commit 01f26f5

Please sign in to comment.