Skip to content

Commit

Permalink
make filter optional
Browse files Browse the repository at this point in the history
  • Loading branch information
f-w committed May 6, 2024
1 parent fb83f99 commit 5785785
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/common/json-query.decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export function ApiFilterJsonQuery() {
return applyDecorators(
ApiQuery({
name: 'filter',
required: false,
content: {
'application/json': {
schema: { $ref: getSchemaPath(FilterDto) },
Expand Down

0 comments on commit 5785785

Please sign in to comment.