modernize ticket and accounting
iteration 0
This commit is contained in:
@@ -58,8 +58,7 @@ async function main() {
|
||||
const schichtplanung = await getSchichtplanungForDay(new Date('2025-08-11')).then(response => response.json());
|
||||
const chunks = chunk(schichtplanung.map(({id}) => id), 1)
|
||||
for(const chunk of chunks) {
|
||||
const res = await deleteSchichtplanungItems(chunk as string[])
|
||||
console.log(res)
|
||||
await deleteSchichtplanungItems(chunk as string[])
|
||||
await sleep(200)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user