diff --git a/BTCPayServer/Services/Apps/AppService.cs b/BTCPayServer/Services/Apps/AppService.cs index 22da9c734..689f284ca 100644 --- a/BTCPayServer/Services/Apps/AppService.cs +++ b/BTCPayServer/Services/Apps/AppService.cs @@ -101,7 +101,7 @@ namespace BTCPayServer.Services.Apps var pendingPayments = GetContributionsByPaymentMethodId(settings.TargetCurrency, pendingInvoices, !settings.EnforceTargetAmount); var currentPayments = GetContributionsByPaymentMethodId(settings.TargetCurrency, completeInvoices, !settings.EnforceTargetAmount); - var perkCount = invoices + var perkCount = paidInvoices .Where(entity => !string.IsNullOrEmpty(entity.ProductInformation.ItemCode)) .GroupBy(entity => entity.ProductInformation.ItemCode) .ToDictionary(entities => entities.Key, entities => entities.Count()); diff --git a/Build/Version.csproj b/Build/Version.csproj index 2ead6efc5..0682de268 100644 --- a/Build/Version.csproj +++ b/Build/Version.csproj @@ -1,5 +1,5 @@ - 1.0.3.123 + 1.0.3.124