diff --git a/src/portfolios/routes/dto/add-portfolio-contribution.dto.ts b/src/portfolios/routes/dto/add-portfolio-contribution.dto.ts index 870696e3..0e9acf37 100644 --- a/src/portfolios/routes/dto/add-portfolio-contribution.dto.ts +++ b/src/portfolios/routes/dto/add-portfolio-contribution.dto.ts @@ -1,6 +1,6 @@ import { ApiProperty } from '@nestjs/swagger'; import { Type } from 'class-transformer'; -import { IsNumber, IsPositive } from 'class-validator'; +import { IsNumber } from 'class-validator'; import { AddPortfolioContributionDto as DomainAddPortfolioContributionDto } from '../../domain/dto/add-portfolio-contribution.dto'; export class AddPortfolioContributionDto @@ -11,6 +11,5 @@ export class AddPortfolioContributionDto @ApiProperty() @Type(() => Number) @IsNumber() - @IsPositive() amountEUR: number; }