Feat v0.3.5 settings icd clone (#19)
All checks were successful
All checks were successful
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #19.
This commit is contained in:
@@ -155,3 +155,13 @@ func (h *WorkflowHandler) GetTeamWorkflowVersion(c *gin.Context) {
|
||||
}
|
||||
h.GetVersion(c)
|
||||
}
|
||||
|
||||
// CloneTeamWorkflow deep-copies a team workflow.
|
||||
// POST /api/v1/teams/:teamId/workflows/:id/clone
|
||||
func (h *WorkflowHandler) CloneTeamWorkflow(c *gin.Context) {
|
||||
if !h.requireTeamWorkflow(c) {
|
||||
return
|
||||
}
|
||||
c.Set("force_team_id", c.Param("teamId"))
|
||||
h.Clone(c)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user