mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
granting and rescinding ownership, #2588
This commit is contained in:
@@ -23,10 +23,12 @@ groupsController.list = function(req, res, next) {
|
||||
|
||||
groupsController.details = function(req, res, next) {
|
||||
var uid = req.user ? parseInt(req.user.uid, 10) : 0;
|
||||
|
||||
async.parallel({
|
||||
group: function(next) {
|
||||
groups.get(req.params.name, {
|
||||
expand: true
|
||||
expand: true,
|
||||
uid: uid
|
||||
}, next);
|
||||
},
|
||||
posts: function(next) {
|
||||
|
||||
Reference in New Issue
Block a user