MagicTheGathering / mtg-sdk-go

Magic: The Gathering SDK - Go
MIT License
25 stars 17 forks source link

Problem querying all sets #7

Open fabiotavarespr opened 4 years ago

fabiotavarespr commented 4 years ago

When I request to list all collections, the following error is occurring.

Request query

...
sets, err := mtg.NewSetQuery().All()
    if err != nil {
        panic(err)
    }
...

Erro

panic: Unexpected booster content. Got "[\"playtest\",[\"foil mythic rare\",\"foil rare\",\"foil uncommon\",\"foil common\"]]"