diff --git a/src/append_to_group.ts b/src/append_to_group.ts index 158fd1b..83f5aee 100644 --- a/src/append_to_group.ts +++ b/src/append_to_group.ts @@ -26,7 +26,7 @@ async function addUsersToGroup( 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) { try {