Skip to content

Commit

Permalink
feat: add group name to csv event
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Jan 22, 2021
1 parent a186ea0 commit 672959c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/admin/groups.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 672959c

Please sign in to comment.