Skip to content

Commit

Permalink
fix: use in predicate for getByIDs
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloashmore committed Jul 3, 2021
1 parent 4bfe449 commit fc522a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ export class Client {
params?: Partial<BuildQueryURLArgs>
): Promise<Query<TDocument>> {
return await this.get<TDocument>(
appendPredicates(predicate.at("document.id", ids))(params)
appendPredicates(predicate.in("document.id", ids))(params)
);
}

Expand Down Expand Up @@ -559,7 +559,7 @@ export class Client {
params?: Partial<BuildQueryURLArgs>
): Promise<TDocument[]> {
return await this.getAll<TDocument>(
appendPredicates(predicate.at("document.id", ids))(params)
appendPredicates(predicate.in("document.id", ids))(params)
);
}

Expand Down

0 comments on commit fc522a2

Please sign in to comment.