fix(go-client): improve go-client variable and resource handling

This commit is contained in:
Ruben Fiszel
2022-10-15 11:18:17 +02:00
parent a7e76d13b9
commit f34a625add
3 changed files with 13 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ type ClientWithWorkspace struct {
}
func GetClient() (ClientWithWorkspace, error) {
base_url := os.Getenv("BASE_INTERNAL_URL")
base_url := os.Getenv("BASE_INTERNAL_URL") + "/api"
workspace := os.Getenv("WM_WORKSPACE")
token := os.Getenv("WM_TOKEN")