Skip to content

Commit

Permalink
Merge pull request #10 from moevm/Dima
Browse files Browse the repository at this point in the history
dot.dto validator bag fixed
  • Loading branch information
DimaDmitrii authored Dec 20, 2024
2 parents 1c8b424 + bd369ce commit f0808ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion server/src/modules/dot/dto/create-dot.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {Type} from "class-transformer";

export class CreateDotDto {
@IsObject()
@ValidateNested()
@Type(() => Point)
location: Point;
}
2 changes: 1 addition & 1 deletion server/src/modules/routes/dto/create-route.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {IsObject, IsString, IsNumber, MaxLength, MinLength, ValidateNested} from "class-validator";
import {IsString, IsNumber, MaxLength, MinLength} from "class-validator";

export class CreateRouteDto {
@IsString()
Expand Down

0 comments on commit f0808ef

Please sign in to comment.