diff --git a/src/routes/debug.js b/src/routes/debug.js index d41bfac333..414df20dbd 100644 --- a/src/routes/debug.js +++ b/src/routes/debug.js @@ -72,6 +72,7 @@ module.exports = function(app, middleware, controllers) { bodyLong: 'asdasd khajsdhakhdakj hdkash dakhdakjdhakjs', path: nconf.get('relative_path') + '/topic/' + topicSlug + '/' + postIndex, uniqueId: 'topic:' + tid, + tid: tid, from: fromUid }, function(err, nid) { notifications.push(nid, [1]); diff --git a/src/user/notifications.js b/src/user/notifications.js index ad42baa7c2..b4720c1fee 100644 --- a/src/user/notifications.js +++ b/src/user/notifications.js @@ -212,7 +212,7 @@ var async = require('async'), }); async.filter(nids, function(nid, next) { - notifications.get(nid, uid, function(err, notifObj) { + notifications.get(nid, function(err, notifObj) { if (err || !notifObj) { return next(false); }