Skip to content

Commit db13300

Browse files
authored
fix: use in operator in GetNodesByIds (#65)
1 parent 0f749a5 commit db13300

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/endpoints/hierarchies.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ class HierarchiesEndpoint extends CRUDExtend {
5858
}
5959

6060
const filter = {
61-
or: nodeIds.map(id => ({
62-
eq: { id }
63-
}))
61+
in: {
62+
id: nodeIds
63+
}
6464
}
6565

6666
return this.request.send(

0 commit comments

Comments
 (0)