mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
closes #3740
This commit is contained in:
@@ -229,7 +229,7 @@ var async = require('async'),
|
|||||||
return callback();
|
return callback();
|
||||||
}
|
}
|
||||||
|
|
||||||
db.getObject('notification:' + nid, function(err, notification) {
|
db.getObject('notifications:' + nid, function(err, notification) {
|
||||||
if (err || !notification) {
|
if (err || !notification) {
|
||||||
return callback(err || new Error('[[error:no-notification]]'));
|
return callback(err || new Error('[[error:no-notification]]'));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user