Skip to content

Commit

Permalink
fix: Fix v2 search path
Browse files Browse the repository at this point in the history
  • Loading branch information
neet committed Dec 23, 2022
1 parent bedc623 commit b3d95f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/v2/aggregate-repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ export class AggregateRepository {
*/
@version({ since: '1.1.0', until: '3.0.0' })
search(params: SearchParams): Paginator<Search, SearchParams> {
return new Paginator(this.http, `/api/v1/search`, params);
return new Paginator(this.http, `/api/v2/search`, params);
}
}

0 comments on commit b3d95f8

Please sign in to comment.