Fix foil and etched bug

This commit is contained in:
Florian Baumann 2023-02-06 17:11:20 +01:00
parent 48cd2b83df
commit 03dc0672b3

View File

@ -61,7 +61,7 @@ var statsCmd = &cobra.Command{
fmt.Printf("\n%sCards %s\n", Green, Reset) fmt.Printf("\n%sCards %s\n", Green, Reset)
fmt.Printf("Total Cards: %s%.0f%s\n", Yellow, stats[0]["count"], Reset) fmt.Printf("Total Cards: %s%.0f%s\n", Yellow, stats[0]["count"], Reset)
fmt.Printf("Total Foil Cards: %s%.0f%s\n", Purple, stats[0]["count_foil"], Reset) fmt.Printf("Total Foil Cards: %s%.0f%s\n", Purple, stats[0]["count_foil"], Reset)
fmt.Printf("Total Etched Cards: %s%.0f%s\n", Purple, stats[0]["count_foil"], Reset) fmt.Printf("Total Etched Cards: %s%.0f%s\n", Purple, stats[0]["count_etched"], Reset)
fmt.Printf("Unique Cards: %s%d%s\n", Purple, stats[0]["unique"], Reset) fmt.Printf("Unique Cards: %s%d%s\n", Purple, stats[0]["unique"], Reset)
rar, _ := coll.storage_aggregate(mongo.Pipeline{ rar, _ := coll.storage_aggregate(mongo.Pipeline{