fix: Disable workflow locking due to issues (#4708)

* fix: Disable workflow locking due to issues
This commit is contained in:
Omar Ajoue
2022-11-24 09:52:24 +01:00
committed by GitHub
parent b6c57e19fc
commit ee6ac5d341
3 changed files with 9 additions and 9 deletions

View File

@@ -211,7 +211,7 @@ EEWorkflowController.patch(
'/:id(\\d+)',
ResponseHelper.send(async (req: WorkflowRequest.Update) => {
const { id: workflowId } = req.params;
const forceSave = req.query.forceSave === 'true';
// const forceSave = req.query.forceSave === 'true'; // disabled temporarily - tests were also disabled
const updateData = new WorkflowEntity();
const { tags, ...rest } = req.body;
@@ -224,7 +224,7 @@ EEWorkflowController.patch(
safeWorkflow,
workflowId,
tags,
forceSave,
true,
);
const { id, ...remainder } = updatedWorkflow;