fixed notifications

This commit is contained in:
Baris Soner Usakli
2013-12-04 18:58:20 -05:00
parent f0caac242c
commit 639247a8b0
2 changed files with 5 additions and 2 deletions

View File

@@ -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);
}