mirror of
https://github.com/LukeHagar/plexgo.git
synced 2025-12-09 20:47:49 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.615.2
This commit is contained in:
@@ -40,8 +40,8 @@ func UnmarshalJsonFromResponseBody(body io.Reader, out interface{}, tag string)
|
||||
if err != nil {
|
||||
return fmt.Errorf("error reading response body: %w", err)
|
||||
}
|
||||
if err := UnmarshalJSON(data, out, reflect.StructTag(tag), true, false); err != nil {
|
||||
return fmt.Errorf("error unmarshalling json response body: %w", err)
|
||||
if err := UnmarshalJSON(data, out, reflect.StructTag(tag), true, nil); err != nil {
|
||||
return fmt.Errorf("error unmarshaling json response body: %w", err)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user