chore: generate

This commit is contained in:
opencode-agent[bot] 2026-09-11 13:07:53 +00:00
parent 5de2f241c6
commit 0b934e9516

View file

@ -150,7 +150,10 @@ const setBlockedBatch = async (input: { workspaceIDs: string[] }, isBlocked: boo
for (let index = 0; index < ids.length; index += 500) {
const chunk = ids.slice(index, index + 500)
await tx.update(WorkspaceTable).set({ is_blocked: isBlocked }).where(inArray(WorkspaceTable.id, chunk))
const rows = await tx.select({ id: WorkspaceTable.id }).from(WorkspaceTable).where(inArray(WorkspaceTable.id, chunk))
const rows = await tx
.select({ id: WorkspaceTable.id })
.from(WorkspaceTable)
.where(inArray(WorkspaceTable.id, chunk))
for (const row of rows) applied.add(row.id)
}
return {