issues
search
zzozzolev
/
medium-clone-spring-boot-java
spring boot java를 이용한 medium clone 프로젝트
0
stars
0
forks
source link
refactor: Edit registerUser
#16
Closed
zzozzolev
closed
2 years ago
zzozzolev
commented
2 years ago
목적
유저를 생성할 때 올바른 스테이터스 코드를 반환하고 에러 발생 시 더 정확한 에러가 발생하도록 합니다.
변경 사항
UserRestController
ResponseStatus를 202로 설정
저장한 유저가 존재하지 않을 때 IllegalStateException를 던짐
목적
변경 사항