Skip to content

Commit e9abc4c

Browse files
authored
Merge pull request #91 from wafflestudio/test/server-ability
final readme
2 parents dc78f8a + 4cba683 commit e9abc4c

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 스크립트 이용 서버 성능테스트(예정)

src/main/kotlin/com/snuxi/pot/service/PotService.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)