Bump version

This commit is contained in:
Illya Marchenko 2024-05-11 15:58:11 +03:00
parent 21371e5c22
commit dd1cae608b
Signed by: stuzer05
GPG Key ID: A6ABAAA9268F9F4F

View File

@ -390,7 +390,7 @@ func (c *APIClient) decode(v interface{}, b []byte, contentType string) (err err
return err
}
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 {
return err
}