groups.list added start stop

This commit is contained in:
Barış Soner Uşaklı
2015-05-26 15:37:33 -04:00
parent a065a73637
commit 8117b4459a
5 changed files with 39 additions and 27 deletions

View File

@@ -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);
}