From b35fe0e8e3f1fd1df22c46149ef85757802e30e2 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Tue, 5 Mar 2019 14:06:40 +0900 Subject: [PATCH] Fix CurrentPendingAmount/CurrentAmount not being set --- BTCPayServer/Services/Apps/AppService.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BTCPayServer/Services/Apps/AppService.cs b/BTCPayServer/Services/Apps/AppService.cs index 13cc95fef..739f0f6f4 100644 --- a/BTCPayServer/Services/Apps/AppService.cs +++ b/BTCPayServer/Services/Apps/AppService.cs @@ -152,7 +152,9 @@ namespace BTCPayServer.Services.Apps PaymentStats = currentPayments.ToDictionary(c => c.Key.ToString(), c => c.Value.Value), PendingPaymentStats = pendingPayments.ToDictionary(c => c.Key.ToString(), c => c.Value.Value), LastResetDate = lastResetDate, - NextResetDate = nextResetDate + NextResetDate = nextResetDate, + CurrentPendingAmount = pendingPayments.TotalCurrency, + CurrentAmount = currentPayments.TotalCurrency } }; }