From dd1cae608bcbea2e2482e7ebbd37834bc09e5042 Mon Sep 17 00:00:00 2001 From: stuzer05 Date: Sat, 11 May 2024 15:58:11 +0300 Subject: [PATCH] Bump version --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index f7eb510..7159f44 100644 --- a/client.go +++ b/client.go @@ -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 }