Skip to content

Commit

Permalink
Merge pull request #314 from nhatphongdo/fix/correct-search-method-op…
Browse files Browse the repository at this point in the history
…eration-id-in-swagger

fix: correct search method operation id in swagger
  • Loading branch information
jiho-kr authored Sep 27, 2023
2 parents 24db4e3 + 3ee55f4 commit 0d61085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/crud.route.factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export class CrudRouteFactory {
}

protected search<T>(controllerMethodName: string) {
this.targetPrototype[controllerMethodName] = function reservedReadMany(crudReadManyRequest: CrudReadManyRequest<T>) {
this.targetPrototype[controllerMethodName] = function reservedSearch(crudReadManyRequest: CrudReadManyRequest<T>) {
return this.crudService.reservedReadMany(crudReadManyRequest);
};
}
Expand Down

0 comments on commit 0d61085

Please sign in to comment.