potentially fix #5764

This commit is contained in:
Kukks
2024-02-19 13:01:04 +01:00
parent b592ee2fed
commit bd4cf61c2b

View File

@@ -12,6 +12,8 @@ namespace BTCPayServer
{
switch (m)
{
case null:
return 0m;
case Money money:
return money.ToDecimal(MoneyUnit.BTC);
case MoneyBag mb: