fix(go): fix go client (#6561)

* add jq to flake

Signed-off-by: pyranota <pyra@duck.com>

* make build.sh compatible with non-FHS complient systems

Signed-off-by: pyranota <pyra@duck.com>

* fix client

Signed-off-by: pyranota <pyra@duck.com>

---------

Signed-off-by: pyranota <pyra@duck.com>
This commit is contained in:
pyranota
2025-09-09 16:19:54 +02:00
committed by GitHub
parent 6890976a8d
commit 6775191f09
3 changed files with 3 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
mkdir openapi

View File

@@ -43,7 +43,7 @@ func GetVariable(path string) (string, error) {
if err != nil {
return "", err
}
res, err := client.Client.GetVariableValueWithResponse(context.Background(), client.Workspace, path)
res, err := client.Client.GetVariableValueWithResponse(context.Background(), client.Workspace, path, &api.GetVariableValueParams{})
if err != nil {
return "", err
}