Bump version
This commit is contained in:
parent
21371e5c22
commit
dd1cae608b
@ -390,7 +390,7 @@ func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err err
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
} else if strings.Contains(contentType, "application/json") {
|
} else if strings.Contains(contentType, "application/json") || strings.Contains(contentType, "application/vnd.api+json") {
|
||||||
if err = json.Unmarshal(b, v); err != nil {
|
if err = json.Unmarshal(b, v); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user