mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-27 15:30:20 +08:00
feat: Added generator for web routes. Added url for workflow executions.
This commit is contained in:
@@ -31,7 +31,7 @@ func apiCronWorkflow(cwf *v1.CronWorkflow) (cronWorkflow *api.CronWorkflow) {
|
||||
}
|
||||
|
||||
if cwf.WorkflowExecution != nil {
|
||||
cronWorkflow.WorkflowExecution = GenApiWorkflowExecution(cwf.WorkflowExecution)
|
||||
cronWorkflow.WorkflowExecution = apiWorkflowExecution(cwf.WorkflowExecution, nil)
|
||||
for _, param := range cwf.WorkflowExecution.Parameters {
|
||||
convertedParam := &api.Parameter{
|
||||
Name: param.Name,
|
||||
|
||||
Reference in New Issue
Block a user