diff --git a/src/groups.js b/src/groups.js index bc5a3b3c49..e881926c92 100644 --- a/src/groups.js +++ b/src/groups.js @@ -151,6 +151,9 @@ }; Groups.isMemberOfGroups = function(uid, groups, callback) { + groups = groups.map(function(groupName) { + return 'group:' + groupName + ':members'; + }); db.isMemberOfSets(groups, uid, callback); };