diff --git a/modules/background/tcgplayer.go b/modules/background/tcgplayer.go index 90f8880..47c0130 100644 --- a/modules/background/tcgplayer.go +++ b/modules/background/tcgplayer.go @@ -104,5 +104,8 @@ func getPriceFromAPI(pool *pool.Pool, api *apiact.TCGPlayer, groupid int) { models.InsertCardPrice(insOpts) + cardMap = nil + prices = nil + return }