Skip to content

Node.js based forum software built for the modern web

send 10 topics in digest not 11

barisusakli8b573bff3975
diff --git a/src/user/jobs.js b/src/user/jobs.js
index dd6c779fc7..ec5561db2d 100644
--- a/src/user/jobs.js
+++ b/src/user/jobs.js
@@ -28,7 +28,7 @@ module.exports = function(User) {
return winston.log('[user/jobs] Did not send daily digests because subscription system is disabled.');
}
- topics.getLatestTopics(0, 0, 10, 'day', function(err, data) {
+ topics.getLatestTopics(0, 0, 9, 'day', function(err, data) {
if (err) {
return winston.error('[user/jobs] Could not send daily digests: ' + err.message);
}