diff --git a/src/append_to_group.ts b/src/append_to_group.ts index e7e2b64..1848a0d 100644 --- a/src/append_to_group.ts +++ b/src/append_to_group.ts @@ -3,7 +3,7 @@ import { CsvEntry } from '../type.ts'; import { toLogin } from '../utils.ts'; async function addUsersToGroup(redmine: Redmine, csv: CsvEntry[]) { - const users: { id: number; login: string }[] = [] + const users: Redmine['users']['List']['Result']['users'] = [] for (const { firstname, lastname } of csv) { const login = toLogin(firstname, lastname)