Skip to content

Commit

Permalink
refactor: 닉네임 중복 체크 코드 삽입
Browse files Browse the repository at this point in the history
  • Loading branch information
yunhacandy committed Aug 14, 2024
1 parent f796c55 commit fd456f1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public Token completeSignup(CompleteSignupRequest request, String accessToken) {
if(member.getMemberRole() == MemberRole.PENDING){
// 필드를 개별적으로 업데이트
member.updateMemberInfo(request.name(), request.field(), request.belong(),request.job());
validateService.checkDuplicateNickName(request.name()); //닉네임 중복 체크
member.updateRole(MemberRole.MEMBER);
memberRepository.save(member);

Expand Down

0 comments on commit fd456f1

Please sign in to comment.