update all clients to use update resource value

This commit is contained in:
Ruben Fiszel
2023-01-01 10:26:11 +01:00
parent bec5147b34
commit ebbc2039a2
6 changed files with 75 additions and 6 deletions

View File

@@ -73,7 +73,7 @@ func SetResource(path string, value interface{}) error {
if err != nil {
return err
}
res, err := client.Client.UpdateResourceWithResponse(context.Background(), client.Workspace, path, api.EditResource{Value: &value})
res, err := client.Client.UpdateResourceValueWithResponse(context.Background(), client.Workspace, path, value)
if err != nil {
return err
}