allow bulk action on max 100 items

This commit is contained in:
Hongbo Wu 2023-12-07 10:55:25 +08:00
parent 618a5dc6a8
commit 5f09165128

View file

@ -822,8 +822,8 @@ export const bulkActionResolver = authorized<
},
})
// the query size is limited to 1000 characters
if (!query || query.length > 1000) {
// the query size is limited to 4000 characters to allow for 100 items
if (!query || query.length > 4000) {
log.error('bulkActionResolver error', {
error: 'QueryTooLong',
query,