mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
fix build
This commit is contained in:
parent
c247e275f6
commit
0798b95c6b
2 changed files with 1 additions and 2 deletions
|
@ -145,7 +145,6 @@ namespace BTCPayServer.Controllers
|
||||||
{
|
{
|
||||||
|
|
||||||
var choices = _AppService.Parse(settings.Template, settings.Currency);
|
var choices = _AppService.Parse(settings.Template, settings.Currency);
|
||||||
var updateNeeded = false;
|
|
||||||
foreach (var cartItem in cartItems)
|
foreach (var cartItem in cartItems)
|
||||||
{
|
{
|
||||||
var itemChoice = choices.FirstOrDefault(c => c.Id == cartItem.Key);
|
var itemChoice = choices.FirstOrDefault(c => c.Id == cartItem.Key);
|
||||||
|
|
|
@ -66,7 +66,7 @@ namespace BTCPayServer.Controllers
|
||||||
Fiat = _CurrencyNameTable.DisplayFormatCurrency(prodInfo.Price, prodInfo.Currency),
|
Fiat = _CurrencyNameTable.DisplayFormatCurrency(prodInfo.Price, prodInfo.Currency),
|
||||||
TaxIncluded = _CurrencyNameTable.DisplayFormatCurrency(prodInfo.TaxIncluded, prodInfo.Currency),
|
TaxIncluded = _CurrencyNameTable.DisplayFormatCurrency(prodInfo.TaxIncluded, prodInfo.Currency),
|
||||||
NotificationEmail = invoice.NotificationEmail,
|
NotificationEmail = invoice.NotificationEmail,
|
||||||
NotificationUrl = invoice.NotificationURL,
|
NotificationUrl = invoice.NotificationURL?.AbsoluteUri,
|
||||||
RedirectUrl = invoice.RedirectURL.AbsoluteUri,
|
RedirectUrl = invoice.RedirectURL.AbsoluteUri,
|
||||||
ProductInformation = invoice.ProductInformation,
|
ProductInformation = invoice.ProductInformation,
|
||||||
StatusException = invoice.ExceptionStatus,
|
StatusException = invoice.ExceptionStatus,
|
||||||
|
|
Loading…
Add table
Reference in a new issue