From cb92ebb3be7e37d3cb17dacdc77f99ecef6e0cd0 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Tue, 14 Mar 2017 23:29:26 +0300 Subject: [PATCH] fix call --- src/user/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); },