From 0798b95c6b34ee225b9451dc2d127db916c62a13 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Thu, 5 Sep 2019 11:41:51 +0900 Subject: [PATCH] fix build --- BTCPayServer/Controllers/AppsPublicController.cs | 1 - BTCPayServer/Controllers/InvoiceController.UI.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/BTCPayServer/Controllers/AppsPublicController.cs b/BTCPayServer/Controllers/AppsPublicController.cs index 7c46eb665..5bf783330 100644 --- a/BTCPayServer/Controllers/AppsPublicController.cs +++ b/BTCPayServer/Controllers/AppsPublicController.cs @@ -145,7 +145,6 @@ namespace BTCPayServer.Controllers { var choices = _AppService.Parse(settings.Template, settings.Currency); - var updateNeeded = false; foreach (var cartItem in cartItems) { var itemChoice = choices.FirstOrDefault(c => c.Id == cartItem.Key); diff --git a/BTCPayServer/Controllers/InvoiceController.UI.cs b/BTCPayServer/Controllers/InvoiceController.UI.cs index 86de1cd11..f37ff1be3 100644 --- a/BTCPayServer/Controllers/InvoiceController.UI.cs +++ b/BTCPayServer/Controllers/InvoiceController.UI.cs @@ -66,7 +66,7 @@ namespace BTCPayServer.Controllers Fiat = _CurrencyNameTable.DisplayFormatCurrency(prodInfo.Price, prodInfo.Currency), TaxIncluded = _CurrencyNameTable.DisplayFormatCurrency(prodInfo.TaxIncluded, prodInfo.Currency), NotificationEmail = invoice.NotificationEmail, - NotificationUrl = invoice.NotificationURL, + NotificationUrl = invoice.NotificationURL?.AbsoluteUri, RedirectUrl = invoice.RedirectURL.AbsoluteUri, ProductInformation = invoice.ProductInformation, StatusException = invoice.ExceptionStatus,