mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 08:55:47 +01:00
fix moderators
This commit is contained in:
@@ -140,6 +140,10 @@ var async = require('async'),
|
||||
});
|
||||
};
|
||||
|
||||
Groups.getMembers = function(groupName, callback) {
|
||||
db.getSetMembers('group:' + groupName + ':members', callback);
|
||||
};
|
||||
|
||||
Groups.search = function(query, options, callback) {
|
||||
if (!query) {
|
||||
return callback(null, []);
|
||||
|
||||
Reference in New Issue
Block a user