From ab7b65e756b8c70d1047a4e1fdf07dda3c881e31 Mon Sep 17 00:00:00 2001 From: Frikky Date: Thu, 7 Nov 2024 17:36:12 +0100 Subject: [PATCH] Minor walkoff shuffle-shared mapping fix --- backend/go-app/go.mod | 2 +- backend/go-app/walkoff.go | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/go-app/go.mod b/backend/go-app/go.mod index eee33c81..6e864514 100644 --- a/backend/go-app/go.mod +++ b/backend/go-app/go.mod @@ -2,7 +2,7 @@ module shuffle go 1.22.0 -//replace github.com/shuffle/shuffle-shared => ../../../shuffle-shared +replace github.com/shuffle/shuffle-shared => ../../../shuffle-shared toolchain go1.22.2 diff --git a/backend/go-app/walkoff.go b/backend/go-app/walkoff.go index 3b3e18c8..d6cac1fe 100755 --- a/backend/go-app/walkoff.go +++ b/backend/go-app/walkoff.go @@ -333,7 +333,7 @@ func handleGetWorkflowqueue(resp http.ResponseWriter, request *http.Request) { } env.Checkin = timeNow - err = shuffle.SetEnvironment(ctx, &env) + err = shuffle.SetEnvironment(ctx, env) if err != nil { log.Printf("[ERROR] Failed updating environment: %s", err) } @@ -668,7 +668,8 @@ func handleGetStreamResults(resp http.ResponseWriter, request *http.Request) { Sharing: workflowExecution.Workflow.Sharing, Description: workflowExecution.Workflow.Description, InputQuestions: workflowExecution.Workflow.InputQuestions, - InputMarkdown: workflowExecution.Workflow.InputMarkdown, + + FormControl: workflowExecution.Workflow.FormControl, } workflowExecution.Results = []shuffle.ActionResult{}