From 537db83bb44fef60c8a69c9c090fa34649595d09 Mon Sep 17 00:00:00 2001 From: l29utp0 Date: Sun, 24 Oct 2021 22:14:48 +0100 Subject: [PATCH] typo --- helpers/tasks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/tasks.js b/helpers/tasks.js index 8f1edf43..89506017 100644 --- a/helpers/tasks.js +++ b/helpers/tasks.js @@ -240,7 +240,7 @@ module.exports = { let [ totalStats, boards, fileStats, recentNews, hotThreads ] = await Promise.all([ Boards.totalStats(), //overall total posts ever made Boards.boardSort(0, 20), //top 20 boards sorted by users, pph, total posts - Files.activeContent(), //size ans number of files + Files.activeContent(), //size and number of files News.find(maxRecentNews), //some recent newsposts Posts.db.find({'board': {$in: listedBoards}, 'thread': null, 'date': {$gte: (new Date(Date.now() - (7 * 24 * 60 * 60 * 1000)))}}).sort({'replyposts':-1}).limit(10).toArray(), //top 10 threads last 7 days ]);