Fixed unique settings
This commit is contained in:
parent
3919b21318
commit
a9e2a4f09e
2 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package cardsinfo
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"context"
|
||||
|
||||
scryfall "github.com/BlueMonday/go-scryfall"
|
||||
|
|
@ -14,7 +15,7 @@ func GetPrices(name string) ([]CardPrice, error) {
|
|||
}
|
||||
ctx := context.Background()
|
||||
opts := scryfall.SearchCardsOptions{
|
||||
|
||||
Unique: scryfall.UniqueModePrints,
|
||||
}
|
||||
resp, err := client.SearchCards(ctx, name, opts)
|
||||
var prices []CardPrice
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue