mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
update bulk action api
This commit is contained in:
parent
1697f11e75
commit
5e566d450e
1 changed files with 3 additions and 1 deletions
|
|
@ -1083,7 +1083,9 @@ export const updateLibraryItems = async (
|
|||
.where('library_item.user_id = :userId', { userId })
|
||||
|
||||
if (query) {
|
||||
queryBuilder.andWhere(query).setParameters(paramtersToObject(parameters))
|
||||
queryBuilder
|
||||
.andWhere(`(${query})`)
|
||||
.setParameters(paramtersToObject(parameters))
|
||||
}
|
||||
|
||||
if (addLabels) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue