Skip to content

Commit

Permalink
[feat] #169 예외처리
Browse files Browse the repository at this point in the history
  • Loading branch information
JangInho committed Feb 3, 2025
1 parent 822db67 commit 6e41889
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public MyPageInfoResponse getMyPageInfo(Long userId){
}
public MyPageInfoResponse updateMyPageInfo(Long userId, MyPageUpdateRequest myPageUpdateRequest) {
if (!MyPageUpdateRequest.validate(myPageUpdateRequest)){
new GeneralException(ErrorStatus._FORBIDDEN);
throw new GeneralException(ErrorStatus._FORBIDDEN);
}
User originUser = userReader.getUserWithId(userId);
User user = User.of(userId, null,null, originUser.getProfileImage(), myPageUpdateRequest.name(), myPageUpdateRequest.password()
Expand Down

0 comments on commit 6e41889

Please sign in to comment.