From fda2ce9a007bc794077fdbffba83d4685d0e0c6f Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Mon, 15 Jan 2024 21:31:31 +0100 Subject: [PATCH] fix: use bluemine imported types --- src/append_to_group.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)