mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 06:25:50 +01:00
fixed notifications
This commit is contained in:
@@ -19,8 +19,7 @@ var async = require('async'),
|
||||
|
||||
Notifications.get = function(nid, uid, callback) {
|
||||
|
||||
db.exists('nofitications:' + nid, function(err, exists) {
|
||||
|
||||
db.exists('notifications:' + nid, function(err, exists) {
|
||||
if(!exists) {
|
||||
return callback(null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user