From 03dc0672b3adb64e35fbc25f38e83b4c63ee9cd1 Mon Sep 17 00:00:00 2001 From: Florian Baumann Date: Mon, 6 Feb 2023 17:11:20 +0100 Subject: [PATCH] Fix foil and etched bug --- src/serra/stats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serra/stats.go b/src/serra/stats.go index 48d69a5..919fef1 100644 --- a/src/serra/stats.go +++ b/src/serra/stats.go @@ -61,7 +61,7 @@ var statsCmd = &cobra.Command{ fmt.Printf("\n%sCards %s\n", Green, 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 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) rar, _ := coll.storage_aggregate(mongo.Pipeline{