mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 06:46:02 +02:00
fix: closes #12358, only load pending/invited for owners
This commit is contained in:
@@ -42,7 +42,6 @@ groupsController.get = async function (req, res, next) {
|
||||
if (!group || groupName === groups.BANNED_USERS) {
|
||||
return next();
|
||||
}
|
||||
group.isOwner = true;
|
||||
|
||||
const groupNameData = groupNames.map(name => ({
|
||||
encodedName: encodeURIComponent(name),
|
||||
|
||||
Reference in New Issue
Block a user