Skip to content

Commit

Permalink
[Chore] spot 생성 시 image 받아오기 취소
Browse files Browse the repository at this point in the history
  • Loading branch information
choeun7 authored Feb 18, 2024
1 parent 7c13da3 commit 34b3998
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ public ResponseEntity<?> createSpot(HttpServletRequest request, CreateSpotReques
}

// 산책 스팟 이미지가 1~10개 사이인지 체크
if (createSpotRequestDto.getImage().isEmpty() || createSpotRequestDto.getImage().size() > 10) {
throw new InvalidImageListSizeException();
}
// if (createSpotRequestDto.getImage().isEmpty() || createSpotRequestDto.getImage().size() > 10) {
// throw new InvalidImageListSizeException();
// }

// 산책 스팟 저장
Spot spot = Spot.builder()
Expand Down

0 comments on commit 34b3998

Please sign in to comment.