Fixed SCG prices

This commit is contained in:
Artyom Belousov 2020-09-22 10:22:26 +03:00
parent 631213a412
commit 3919b21318
8 changed files with 51 additions and 199 deletions

View file

@ -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
}