Mythic filter was missing

This commit is contained in:
Florian Baumann 2024-02-26 08:08:30 +01:00
parent 1be271715c
commit 6a88b536bf

View File

@ -79,6 +79,8 @@ func Cards(rarity, set, sortby, name, oracle, cardType string, reserved, foil bo
filter = append(filter, bson.E{"rarity", "common"})
case "rare":
filter = append(filter, bson.E{"rarity", "rare"})
case "mythic":
filter = append(filter, bson.E{"rarity", "mythic"})
}
var sortStage bson.D