Skip to content

Commit

Permalink
fix(search): made query param optional for pillar items search
Browse files Browse the repository at this point in the history
  • Loading branch information
AndySakov committed Dec 11, 2024
1 parent 3c3e1bf commit 9dcd3ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/search/dto/search-pillar-items.input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export class SearchPillarItemParams {
pillar: string;

@IsString()
@IsNotEmpty()
query: string;
@IsOptional()
query: string | null = null;

@IsNumber()
@IsOptional()
Expand Down

0 comments on commit 9dcd3ab

Please sign in to comment.