Skip to content

Commit d1bf0ab

Browse files
Copilothotlong
andcommitted
Fix TypeScript build errors in repository.ts filter injection
Co-authored-by: hotlong <[email protected]>
1 parent c4d147b commit d1bf0ab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/core/src/repository.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,11 @@ export class ObjectRepository {
7373
}
7474

7575
// Wrap existing filters with AND baseId
76+
// Using nested array to group existing filters with baseId
7677
return {
7778
...query,
7879
filters: [
79-
'(',
80-
...query.filters,
81-
')',
80+
query.filters,
8281
'and',
8382
baseFilter
8483
]

0 commit comments

Comments
 (0)