mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Addressing PR review issues
This commit is contained in:
committed by
nicolas.dorier
parent
586a952480
commit
c3998fdf34
@@ -163,8 +163,8 @@ namespace BTCPayServer.Controllers
|
||||
Checkout = { RedirectURL = redirectUrl },
|
||||
Receipt = new InvoiceDataBase.ReceiptOptions { Enabled = false }
|
||||
};
|
||||
if (prBlob.ReferenceNumber is not null or "")
|
||||
invoiceRequest.AdditionalSearchTerms = new[] { prBlob.ReferenceNumber };
|
||||
if (prData.ReferenceId is not null or "")
|
||||
invoiceRequest.AdditionalSearchTerms = [prData.ReferenceId];
|
||||
var additionalTags = new List<string> { PaymentRequestRepository.GetInternalTag(id) };
|
||||
return await CreateInvoiceCoreRaw(invoiceRequest, storeData, request.GetAbsoluteRoot(), additionalTags, cancellationToken);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user