test
This commit is contained in:
@@ -108,7 +108,9 @@ func (o *WorkflowController) GetAll() {
|
||||
// @router /:id [get]
|
||||
func (o *WorkflowController) Get() {
|
||||
id := o.Ctx.Input.Param(":id")
|
||||
o.Data["json"] = oclib.LoadOne(oclib.LibDataEnum(oclib.WORKFLOW), id)
|
||||
caller := tools.NewHTTPCaller(paths) // create a new HTTP caller
|
||||
caller.Disabled = oclib.IsQueryParamsEquals(o.Ctx.Input, "is_remote", true)
|
||||
o.Data["json"] = oclib.LoadOne(oclib.LibDataEnum(oclib.WORKFLOW), id, caller)
|
||||
o.ServeJSON()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user