Minor walkoff shuffle-shared mapping fix
This commit is contained in:
@@ -2,7 +2,7 @@ module shuffle
|
|||||||
|
|
||||||
go 1.22.0
|
go 1.22.0
|
||||||
|
|
||||||
//replace github.com/shuffle/shuffle-shared => ../../../shuffle-shared
|
replace github.com/shuffle/shuffle-shared => ../../../shuffle-shared
|
||||||
|
|
||||||
toolchain go1.22.2
|
toolchain go1.22.2
|
||||||
|
|
||||||
|
|||||||
@@ -333,7 +333,7 @@ func handleGetWorkflowqueue(resp http.ResponseWriter, request *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
env.Checkin = timeNow
|
env.Checkin = timeNow
|
||||||
err = shuffle.SetEnvironment(ctx, &env)
|
err = shuffle.SetEnvironment(ctx, env)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("[ERROR] Failed updating environment: %s", err)
|
log.Printf("[ERROR] Failed updating environment: %s", err)
|
||||||
}
|
}
|
||||||
@@ -668,7 +668,8 @@ func handleGetStreamResults(resp http.ResponseWriter, request *http.Request) {
|
|||||||
Sharing: workflowExecution.Workflow.Sharing,
|
Sharing: workflowExecution.Workflow.Sharing,
|
||||||
Description: workflowExecution.Workflow.Description,
|
Description: workflowExecution.Workflow.Description,
|
||||||
InputQuestions: workflowExecution.Workflow.InputQuestions,
|
InputQuestions: workflowExecution.Workflow.InputQuestions,
|
||||||
InputMarkdown: workflowExecution.Workflow.InputMarkdown,
|
|
||||||
|
FormControl: workflowExecution.Workflow.FormControl,
|
||||||
}
|
}
|
||||||
|
|
||||||
workflowExecution.Results = []shuffle.ActionResult{}
|
workflowExecution.Results = []shuffle.ActionResult{}
|
||||||
|
|||||||
Reference in New Issue
Block a user