Fix CurrentPendingAmount/CurrentAmount not being set

This commit is contained in:
nicolas.dorier
2019-03-05 14:06:40 +09:00
parent 54905f5ceb
commit b35fe0e8e3

View File

@@ -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
}
};
}