From 489cc2b8c7ef1706431fc21df69177eb595cef67 Mon Sep 17 00:00:00 2001 From: Mahdi Date: Thu, 31 Oct 2024 00:52:38 +0330 Subject: [PATCH] Fix budget min-max --- src/flow/dto/bodies.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flow/dto/bodies.ts b/src/flow/dto/bodies.ts index 880093f..f282f8f 100644 --- a/src/flow/dto/bodies.ts +++ b/src/flow/dto/bodies.ts @@ -110,8 +110,8 @@ export class IsPositiveNumberArray implements ValidatorConstraintInterface { export class BudgetDto { @IsPositive() - @Min(2_000_000) - @Max(8_000_000) + @Min(1_100_000) + @Max(3_500_000) @IsDefined() @ApiProperty() budget: number;