mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
closes #2701
This commit is contained in:
@@ -86,7 +86,8 @@ groupsController.details = function(req, res, next) {
|
||||
},
|
||||
posts: function(next) {
|
||||
groups.getLatestMemberPosts(res.locals.groupName, 10, req.uid, next);
|
||||
}
|
||||
},
|
||||
isAdmin: async.apply(user.isAdministrator, req.uid)
|
||||
}, function(err, results) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
|
||||
Reference in New Issue
Block a user