From ff71544ed0063ef2ae6c64dd2da5a6da5d12b5c2 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 3 Aug 2025 02:54:18 +0200 Subject: Return default value --- src/dbx/mintages.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/dbx/mintages.go b/src/dbx/mintages.go index d78e59c..5b226bd 100644 --- a/src/dbx/mintages.go +++ b/src/dbx/mintages.go @@ -73,8 +73,9 @@ func NewMintageType(s string) MintageType { case "proof": return TypeProof } - /* TODO: Handle this */ - panic("TODO") + /* We can get here if the user sends a request manually, so just + fallback to this */ + return TypeCirc } func GetMintages(country string, typ MintageType) (MintageData, error) { -- cgit v1.2.3