Oops
This commit is contained in:
parent
5e64c3120f
commit
e09a2b473a
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ func scryfallSearch(query string, offset int) (results CardSearchResults, err er
|
||||||
|
|
||||||
func scryfallGetCard(cardname string) (card CardData, err error) {
|
func scryfallGetCard(cardname string) (card CardData, err error) {
|
||||||
cardname = url.QueryEscape(cardname)
|
cardname = url.QueryEscape(cardname)
|
||||||
requrl := fmt.Sprintf("https://api.scryfall.com/cards/named?fuzzy=%s")
|
requrl := fmt.Sprintf("https://api.scryfall.com/cards/named?fuzzy=%s", cardname)
|
||||||
response, err := netClient.Get(requrl)
|
response, err := netClient.Get(requrl)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue