mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 17:46:16 +01:00
feat: add group name to csv event
This commit is contained in:
@@ -83,6 +83,7 @@ groupsController.getCSV = async function (req, res) {
|
||||
type: 'getGroupCSV',
|
||||
uid: req.uid,
|
||||
ip: req.ip,
|
||||
group: req.params.groupname,
|
||||
});
|
||||
const groupName = req.params.groupname;
|
||||
const members = (await groups.getMembersOfGroups([groupName]))[0];
|
||||
|
||||
Reference in New Issue
Block a user