Skip to content

Commit

Permalink
SocialLogin error해결
Browse files Browse the repository at this point in the history
  • Loading branch information
SeWooooong committed Sep 4, 2024
1 parent 9c1ff7c commit b587d54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void save(Member member) {
public Member register(RegisterMember registerMember) {
Member member = new Member(
registerMember.getEmail(),
registerMember.getNickname(),
registerMember.getNickName(),
registerMember.getMbti(),
registerMember.getCaseSensitivity());
save(member);
Expand Down Expand Up @@ -113,7 +113,7 @@ public void checkRegister(RegisterMember registerMember) {
if (flag) {
throw new BaseException(MemberErrorCode.DUPLICATE_MEMBER);
}
flag = memberRepository.existsByNickName(registerMember.getNickname());
flag = memberRepository.existsByNickName(registerMember.getNickName());
if (flag) {
throw new BaseException(MemberErrorCode.DUPLICATE_NICKNAME);
}
Expand Down

0 comments on commit b587d54

Please sign in to comment.