Skip to content

Commit

Permalink
🔨 fix(room) : 위경도 지도상 minmax 값 지도 전체로 품
Browse files Browse the repository at this point in the history
  • Loading branch information
ImNM committed Jun 2, 2022
1 parent 6bd2a4d commit 5a945de
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/apis/rooms/dto/coordinates.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 5a945de

Please sign in to comment.