fix: use bluemine imported types
This commit is contained in:
parent
866b602244
commit
fda2ce9a00
|
@ -3,7 +3,7 @@ import { CsvEntry } from '../type.ts';
|
||||||
import { toLogin } from '../utils.ts';
|
import { toLogin } from '../utils.ts';
|
||||||
|
|
||||||
async function addUsersToGroup(redmine: Redmine, csv: CsvEntry[]) {
|
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) {
|
for (const { firstname, lastname } of csv) {
|
||||||
const login = toLogin(firstname, lastname)
|
const login = toLogin(firstname, lastname)
|
||||||
|
|
Loading…
Reference in a new issue