mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
fix: spec
This commit is contained in:
@@ -10,7 +10,6 @@ const groups = require('../../groups');
|
||||
const meta = require('../../meta');
|
||||
const pagination = require('../../pagination');
|
||||
const events = require('../../events');
|
||||
const translator = require('../../translator');
|
||||
|
||||
const groupsController = module.exports;
|
||||
|
||||
@@ -46,7 +45,7 @@ groupsController.get = async function (req, res, next) {
|
||||
return next();
|
||||
}
|
||||
group.isOwner = true;
|
||||
group.userTitleEscaped = translator.escape(group.userTitle);
|
||||
|
||||
const groupNameData = groupNames.map(function (name) {
|
||||
return {
|
||||
encodedName: encodeURIComponent(name),
|
||||
|
||||
Reference in New Issue
Block a user