diff --git a/lib/discogs/api.ex b/lib/discogs/api.ex index d822e982..7ee52299 100644 --- a/lib/discogs/api.ex +++ b/lib/discogs/api.ex @@ -8,7 +8,10 @@ defmodule Discogs.API do def get_artist(id, config) do config |> new_request() - |> Req.merge(url: "/artists/#{id}") + |> Req.merge( + headers: %{accept: "application/vnd.discogs.v2.plaintext+json"}, + url: "/artists/#{id}" + ) |> get_request() end