diff --git a/scryfall.go b/scryfall.go index 080186b..26ddaee 100644 --- a/scryfall.go +++ b/scryfall.go @@ -60,6 +60,6 @@ func scryfallSearch(query string) (results CardSearchResults, err error) { } defer response.Body.Close() - json.NewDecoder(response.Body).Decode(&results) + err = json.NewDecoder(response.Body).Decode(&results) return }