refactor(core): Skip interim updates check (no-changelog) (#4536)

 Skip interim updates check
This commit is contained in:
Iván Ovejero
2022-11-07 17:33:35 +01:00
committed by GitHub
parent 1c98f97e9e
commit 157e8e0cc8
2 changed files with 8 additions and 8 deletions

View File

@@ -75,13 +75,13 @@ export class WorkflowsService {
);
}
if (!forceSave && workflow.hash !== shared.workflow.hash) {
throw new ResponseHelper.ResponseError(
`Workflow ID ${workflowId} cannot be saved because it was changed by another user.`,
undefined,
400,
);
}
// if (!forceSave && workflow.hash !== shared.workflow.hash) {
// throw new ResponseHelper.ResponseError(
// `Workflow ID ${workflowId} cannot be saved because it was changed by another user.`,
// undefined,
// 400,
// );
// }
// check credentials for old format
await WorkflowHelpers.replaceInvalidCredentials(workflow);