From 5a945de4c49f142fd0824f4815d1c69cbdb687d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=B5=E1=84=8E=E1=85=A1=E1=86=AB=E1=84=8C?= =?UTF-8?q?=E1=85=B5=E1=86=AB?= Date: Thu, 2 Jun 2022 23:51:41 +0900 Subject: [PATCH] =?UTF-8?q?:hammer:=20fix(room)=20:=20=EC=9C=84=EA=B2=BD?= =?UTF-8?q?=EB=8F=84=20=EC=A7=80=EB=8F=84=EC=83=81=20minmax=20=EA=B0=92=20?= =?UTF-8?q?=EC=A7=80=EB=8F=84=20=EC=A0=84=EC=B2=B4=EB=A1=9C=20=ED=92=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/rooms/dto/coordinates.dto.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; }