fix batch delete query does not use index

This commit is contained in:
Hongbo Wu
2024-06-14 12:21:20 +08:00
parent aea1650626
commit c0947ddd48
2 changed files with 1 additions and 25 deletions

View File

@ -970,10 +970,10 @@ export const emptyTrashResolver = authorized<
})
await batchDelete({
state: LibraryItemState.Deleted,
user: {
id: uid,
},
state: LibraryItemState.Deleted,
})
return {