Compare commits

...

2 Commits

Author SHA1 Message Date
barisusakli
cce076fc83 closes #2323 2014-10-30 14:30:10 -04:00
Julian Lam
0a73fade08 updated version for 0.5.3 2014-10-27 17:36:26 -04:00
2 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
"name": "nodebb",
"license": "GPLv3 or later",
"description": "NodeBB Forum",
"version": "0.5.3-dev",
"version": "0.5.3",
"homepage": "http://www.nodebb.org",
"repository": {
"type": "git",

View File

@@ -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, topics) {
topics.getLatestTopics(0, 0, 10, 'day', function(err, data) {
if (err) {
return winston.error('[user/jobs] Could not send daily digests: ' + err.message);
}
@@ -49,7 +49,7 @@ module.exports = function(User) {
return next();
}
sendEmails(subscribed, topics, next);
sendEmails(subscribed, data.topics, next);
});
}, function(err) {
if (err) {