fix: allow custom group name
This commit is contained in:
parent
d069e01c7c
commit
77c21dd292
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue