Skip to content

Commit

Permalink
Merge pull request #2711 from actiontech/feat-quick-create-workflow-i…
Browse files Browse the repository at this point in the history
…n-CB

del CheckWorkflowCanCommit when create workflow
  • Loading branch information
taolx0 authored Oct 25, 2024
2 parents e29e502 + 4b2fbc7 commit a5eda0b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions sqle/api/controller/v2/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -729,11 +729,6 @@ func CreateWorkflowV2(c echo.Context) error {
return controller.JSONBaseErrorReq(c, errTaskHasBeenUsed)
}

err = v1.CheckWorkflowCanCommit(workflowTemplate, tasks)
if err != nil {
return controller.JSONBaseErrorReq(c, err)
}

stepTemplates, err := s.GetWorkflowStepsByTemplateId(workflowTemplate.ID)
if err != nil {
return err
Expand Down

0 comments on commit a5eda0b

Please sign in to comment.