mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 05:54:26 +01:00
Fix: PaymentRequests created via API never expires (#6657)
This commit is contained in:
@@ -158,7 +158,7 @@ namespace BTCPayServer.Controllers
|
||||
new CreateInvoiceRequest
|
||||
{
|
||||
Metadata = invoiceMetadata,
|
||||
Currency = prBlob.Currency,
|
||||
Currency = prData.Currency,
|
||||
Amount = amount,
|
||||
Checkout = { RedirectURL = redirectUrl },
|
||||
Receipt = new InvoiceDataBase.ReceiptOptions { Enabled = false }
|
||||
|
||||
Reference in New Issue
Block a user