Skip to content

Commit

Permalink
fix: Member 제한 조건 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
unanchoi authored Aug 7, 2024
1 parent 115e1be commit fdc36ec
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,9 @@ public void softDelete() {
}

public void updateRealName(String realName) {
validateRealName(realName);
this.realName = realName;
}

private void validateRealName(String realName) {
if (realName.length() < 6) {
throw new MemberException("이름은 6자 이상이어야 합니다.");
}
}

public void updateNickname(String nickname) {
this.nickname = nickname;
}
Expand Down

0 comments on commit fdc36ec

Please sign in to comment.