diff --git a/src/main/java/cotato/growingpain/auth/service/AuthService.java b/src/main/java/cotato/growingpain/auth/service/AuthService.java index c7f8133..f50a2db 100644 --- a/src/main/java/cotato/growingpain/auth/service/AuthService.java +++ b/src/main/java/cotato/growingpain/auth/service/AuthService.java @@ -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);