Node.js based forum software built for the modern web
fix: post count
Barış Soner Uşaklıbadb7e2c0556
diff --git a/src/routes/well-known.js b/src/routes/well-known.jsindex 6d7f61c577..f6d59d703e 100644--- a/src/routes/well-known.js+++ b/src/routes/well-known.js@@ -40,7 +40,7 @@ module.exports = function (app, middleware, controllers) {const sixMonthsAgo = addMonths(new Date(), -6);const [{ postCount, userCount }, activeMonth, activeHalfyear] = await Promise.all([- db.getObjectFields('global', ['userCount', 'userCount']),+ db.getObjectFields('global', ['postCount', 'userCount']),db.sortedSetCount('users:online', oneMonthAgo.getTime(), '+inf'),db.sortedSetCount('users:online', sixMonthsAgo.getTime(), '+inf'),]);