From 57857859b3fa5986fb24b81de6be37433c9a3b40 Mon Sep 17 00:00:00 2001 From: f-w Date: Mon, 6 May 2024 16:15:45 -0700 Subject: [PATCH] make filter optional --- src/api/common/json-query.decorator.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/common/json-query.decorator.ts b/src/api/common/json-query.decorator.ts index cdc78b9c3..bb66ab65d 100644 --- a/src/api/common/json-query.decorator.ts +++ b/src/api/common/json-query.decorator.ts @@ -33,6 +33,7 @@ export function ApiFilterJsonQuery() { return applyDecorators( ApiQuery({ name: 'filter', + required: false, content: { 'application/json': { schema: { $ref: getSchemaPath(FilterDto) },