diff --git a/src/notifications.js b/src/notifications.js index 7327ae7b87..93c4f1f124 100644 --- a/src/notifications.js +++ b/src/notifications.js @@ -229,7 +229,7 @@ var async = require('async'), return callback(); } - db.getObject('notification:' + nid, function(err, notification) { + db.getObject('notifications:' + nid, function(err, notification) { if (err || !notification) { return callback(err || new Error('[[error:no-notification]]')); }