File tree Expand file tree Collapse file tree
src/main/kotlin/com/snuxi/pot/service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,5 +141,5 @@ HttpOnly 쿠키로 XSS 공격을 차단하고, 악성 유저 발생 시 서버
141141
142142## 6. 업데이트 내역
143143- ~ 2026.02.07 : 프로젝트 1차 개발 완료, Waffle Studio 동아리 부원 대상 시연 및 버그 바운티
144- - ~ 2026.02.18 : 버그 바운티 완료 , 코드 리팩토링
144+ - ~ 2026.02.18 : 버그 바운티, 코드 리팩토링
145145- After : k6 스크립트 이용 서버 성능테스트(예정)
Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ class PotService (
4747
4848 if (minCapacity > maxCapacity) throw MinMaxReversedException ()
4949 if (minCapacity < 2 || maxCapacity > 4 ) throw InvalidCountException ()
50+
51+ // 새로운 예외를 생성할 수 없어, 이미 존재하는 exception 으로 처리
52+ if (departureTime.isBefore(LocalDateTime .now())) throw RegionNotFoundException ()
5053 if (participantRepository.existsByUserId(userId)) throw DuplicateParticipationException ()
5154
5255 val save = potRepository.save(
You can’t perform that action at this time.
0 commit comments