fix: allow custom group name

This commit is contained in:
Julien Oculi 2024-01-15 22:11:04 +01:00
parent d069e01c7c
commit 77c21dd292

View file

@ -26,7 +26,7 @@ async function addUsersToGroup(
const { groups } = await redmine.unstableGroups.list() const { groups } = await redmine.unstableGroups.list()
const { id } = groups.filter(({ name }) => name === 'entrepreneur-01-24')[0] const { id } = groups.filter(({ name }) => name === groupName)[0]
for (const user of users) { for (const user of users) {
try { try {