wgc 0.81.0 → 0.81.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json
CHANGED
|
@@ -372,7 +372,7 @@ resp, err := client.Put(ctx, "/<replace_with_path>", payload,
|
|
|
372
372
|
httpclient.WithHeaders(map[string]string{}),
|
|
373
373
|
)
|
|
374
374
|
// Unmarshal the JSON response into our data structure
|
|
375
|
-
data, err :=
|
|
375
|
+
data, err := httpclient.UnmarshalTo[[]ResponseType](resp)
|
|
376
376
|
// The response offers the following fields:
|
|
377
377
|
type Response struct {
|
|
378
378
|
StatusCode int
|