From 45d7844ab458b3c30a66b941d2a99981a55cbee0 Mon Sep 17 00:00:00 2001 From: Guillaume Bouvignies Date: Tue, 10 Oct 2023 08:04:29 -0700 Subject: [PATCH] Fix go-client api break (#2419) --- go-client/windmill.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/go-client/windmill.go b/go-client/windmill.go index 97f6adb8a4..28cc44c820 100644 --- a/go-client/windmill.go +++ b/go-client/windmill.go @@ -56,7 +56,8 @@ func GetResource(path string) (interface{}, error) { if err != nil { return nil, err } - res, err := client.Client.GetResourceValueInterpolatedWithResponse(context.Background(), client.Workspace, path) + params := &api.GetResourceValueInterpolatedParams{} + res, err := client.Client.GetResourceValueInterpolatedWithResponse(context.Background(), client.Workspace, path, ¶ms) if res.StatusCode()/100 != 2 { return nil, errors.New(string(res.Body)) }