mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
groups.list added start stop
This commit is contained in:
@@ -381,12 +381,7 @@ adminController.extend.rewards = function(req, res, next) {
|
||||
};
|
||||
|
||||
adminController.groups.get = function(req, res, next) {
|
||||
groups.list({
|
||||
expand: true,
|
||||
truncateUserList: true,
|
||||
isAdmin: true,
|
||||
showSystemGroups: true
|
||||
}, function(err, groups) {
|
||||
groups.list(req.uid, 0, -1, function(err, groups) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user