mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Implement topup invoices (#2730)
This commit is contained in:
@@ -51,7 +51,7 @@ namespace BTCPayServer.ModelBinders
|
||||
// Parse() method trims the value (with common NumberStyles) then throws if the result is empty.
|
||||
model = null;
|
||||
}
|
||||
else if (type == typeof(decimal))
|
||||
else if (type == typeof(decimal) || type == typeof(decimal?))
|
||||
{
|
||||
model = decimal.Parse(value, _supportedStyles, culture);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user