Browse Source

Correctly mark purchase_uris json tag as string tag in scryfallSearch struct

pull/267/head
Víctor Cuadrado Juan 6 years ago
parent
commit
e0cba239ea
No known key found for this signature in database GPG Key ID: 223F15CA5AAF0E78
  1. 2
      src/github.com/matrix-org/go-neb/services/mtgcard/mtgcard.go

2
src/github.com/matrix-org/go-neb/services/mtgcard/mtgcard.go

@ -28,7 +28,7 @@ type scryfallSearch struct {
Euro string `json:"eur"` Euro string `json:"eur"`
PurchaseURIs struct { PurchaseURIs struct {
Cardmarket string `json:cardmarket` Cardmarket string `json:cardmarket`
} `json:purchase_uris`
} `json:"purchase_uris"`
ImageURIs struct { ImageURIs struct {
Normal string `json:"normal"` Normal string `json:"normal"`
Small string `json:"small"` Small string `json:"small"`

Loading…
Cancel
Save