Skip to content

Commit

Permalink
fix: add validation to minQuality
Browse files Browse the repository at this point in the history
  • Loading branch information
dnechay committed Jan 28, 2025
1 parent ecd9171 commit b66355b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ export class JobCvatDto extends JobDto {
@ApiProperty({ name: 'min_quality' })
@IsNumber()
@IsPositive()
@Max(1)
public minQuality: number;

@ApiProperty({ name: 'ground_truth' })
Expand Down

0 comments on commit b66355b

Please sign in to comment.