diff --git a/src/apis/rooms/dto/coordinates.dto.ts b/src/apis/rooms/dto/coordinates.dto.ts index 6fe0ffa..9fbede4 100644 --- a/src/apis/rooms/dto/coordinates.dto.ts +++ b/src/apis/rooms/dto/coordinates.dto.ts @@ -4,13 +4,13 @@ import { IsNumber, Max, Min } from 'class-validator'; export class CoordinatesDto { @ApiProperty({ example: '127', description: '경도입니다 세로선!' }) @IsNumber() - @Min(120) - @Max(135) + @Min(-180) + @Max(180) lng: number; @ApiProperty({ example: '37', description: '위도입니다 가로선' }) @IsNumber() - @Min(30) - @Max(45) + @Min(-90) + @Max(90) lat: number; }