Skip to content

Commit

Permalink
fix(projects): remove all number sign validation for project metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
AndySakov committed Nov 9, 2024
1 parent d9e9ce5 commit 44e2884
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/projects/dto/create-project.input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
IsNotEmpty,
IsNumber,
IsOptional,
IsPositive,
IsString,
IsUrl,
} from "class-validator";
Expand Down Expand Up @@ -33,25 +32,21 @@ export class CreateProjectInput {
@ApiPropertyOptional()
@IsOptional()
@IsNumber()
@IsPositive()
monthlyFees?: number | null;

@ApiPropertyOptional()
@IsOptional()
@IsNumber()
@IsPositive()
monthlyVolume?: number | null;

@ApiPropertyOptional()
@IsOptional()
@IsNumber()
@IsPositive()
monthlyRevenue?: number | null;

@ApiPropertyOptional()
@IsOptional()
@IsNumber()
@IsPositive()
monthlyActiveUsers?: number | null;

@ApiProperty()
Expand Down

0 comments on commit 44e2884

Please sign in to comment.