Skip to content

Commit

Permalink
fix: advanced filter where (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenkristian committed Mar 27, 2023
1 parent 35e148f commit d9988c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/controllers/experience/experience.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export class ExperienceController {
return this.experienceService.find(filter);
}

@intercept(PaginationInterceptor.BINDING_KEY)
@get('/experiences/advances')
@response(200, {
description: 'Array of experience model instances',
Expand All @@ -47,7 +46,7 @@ export class ExperienceController {
},
})
async advanced(
@param.filter(Experience, {exclude: ['limit', 'skip', 'offset']})
@param.filter(Experience)
filter?: Filter<Experience>,
): Promise<Experience[]> {
return this.experienceService.findAdvanced(filter);
Expand Down

0 comments on commit d9988c7

Please sign in to comment.