diff --git a/src/search/dto/search-pillar-items.input.ts b/src/search/dto/search-pillar-items.input.ts index dcd36756..a90ca167 100644 --- a/src/search/dto/search-pillar-items.input.ts +++ b/src/search/dto/search-pillar-items.input.ts @@ -17,8 +17,8 @@ export class SearchPillarItemParams { pillar: string; @IsString() - @IsNotEmpty() - query: string; + @IsOptional() + query: string | null = null; @IsNumber() @IsOptional()