Skip to content

Node.js based forum software built for the modern web

fix call

barisusaklicb92ebb3be7e
diff --git a/src/user/notifications.js b/src/user/notifications.js
index eebb31de7b..92a65e2649 100644
--- a/src/user/notifications.js
+++ b/src/user/notifications.js
@@ -141,7 +141,7 @@ var privileges = require('../privileges');
notifications.getMultiple(nids, next);
},
hasRead: function (next) {
- db.isSortedSetMember('uid:' + uid + ':notifications:read', nids, next);
+ db.isSortedSetMembers('uid:' + uid + ':notifications:read', nids, next);
},
}, next);
},