fix: update bluemine
This commit is contained in:
parent
66397eac5b
commit
a8a3edf22d
|
@ -7,6 +7,6 @@
|
||||||
},
|
},
|
||||||
"imports": {
|
"imports": {
|
||||||
"std:csv": "https://deno.land/std@0.212.0/csv/mod.ts",
|
"std:csv": "https://deno.land/std@0.212.0/csv/mod.ts",
|
||||||
"bluemine": "https://deno.land/x/bluemine@0.1.3/mod.ts"
|
"bluemine": "https://deno.land/x/bluemine@0.1.4/mod.ts"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,9 +18,7 @@ async function addUsersToGroup(redmine: Redmine, csv: CsvEntry[]) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const { groups } = await redmine.unstableGroups.list() as unknown as {
|
const { groups } = await redmine.unstableGroups.list()
|
||||||
groups: { id: number; name: string }[]
|
|
||||||
}
|
|
||||||
|
|
||||||
const { id } = groups.filter(({ name }) => name === 'entrepreneur-01-24')[0]
|
const { id } = groups.filter(({ name }) => name === 'entrepreneur-01-24')[0]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue