mirror of
https://github.com/lingble/twenty.git
synced 2025-11-02 05:37:56 +00:00
@@ -69,7 +69,7 @@ export class WorkflowVersionValidationWorkspaceService {
|
||||
|
||||
assertWorkflowVersionIsDraft(workflowVersion);
|
||||
|
||||
if (payload.data.status !== workflowVersion.status) {
|
||||
if (payload.data.status && payload.data.status !== workflowVersion.status) {
|
||||
throw new WorkflowQueryValidationException(
|
||||
'Cannot update workflow version status manually',
|
||||
WorkflowQueryValidationExceptionCode.FORBIDDEN,
|
||||
|
||||
Reference in New Issue
Block a user