0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00

Updated subscriber count used in dashboard 5.0

refs https://github.com/TryGhost/Team/issues/1538
This commit is contained in:
Simon Backx 2022-04-21 16:32:12 +02:00 committed by Matt Hanley
parent 78034d58b5
commit 0b45de28be

View file

@ -502,8 +502,8 @@ export default class DashboardStatsService extends Service {
}
const [paid, free] = yield Promise.all([
this.membersCountCache.count('subscribed:true+status:-free'),
this.membersCountCache.count('subscribed:true+status:free')
this.membersCountCache.count('newsletters.status:active+status:-free'),
this.membersCountCache.count('newsletters.status:active+status:free')
]);
this.newsletterSubscribers = {