Fixed SCG prices
This commit is contained in:
parent
631213a412
commit
3919b21318
8 changed files with 51 additions and 199 deletions
|
|
@ -58,7 +58,7 @@ func GetPrices(cardName string) ([]cardsinfo.CardPrice, error) {
|
|||
val, err := client.Get(cardName)
|
||||
var prices []cardsinfo.CardPrice
|
||||
if err != nil {
|
||||
prices, err = cardsinfo.GetSCGPrices(cardName)
|
||||
prices, err = cardsinfo.GetPrices(cardName)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue