mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Merge branch 'master' into bitcoin-only-fixes
This commit is contained in:
@@ -145,7 +145,7 @@ namespace BTCPayServer.Controllers
|
||||
.ToList();
|
||||
var defaultRefund = invoice.Payments
|
||||
.Select(p => p.GetBlob(_NetworkProvider))
|
||||
.Select(p => p.GetPaymentMethodId())
|
||||
.Select(p => p?.GetPaymentMethodId())
|
||||
.FirstOrDefault(p => p != null && p.PaymentType == BitcoinPaymentType.Instance);
|
||||
// TODO: What if no option?
|
||||
var refund = new RefundModel();
|
||||
|
||||
Reference in New Issue
Block a user