Skip to content

Commit

Permalink
refactor: 탈퇴 여부 확인을 MemberStatus이 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
Sangwook02 committed Feb 9, 2024
1 parent c6df1bd commit 42d72ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private void validateRegex(String value, String regex) {
}

public void validateStatus() {
if (this.status == MemberStatus.DELETED) {
if (isDeleted()) {
throw new CustomException(MEMBER_DELETED);
}
}
Expand Down

0 comments on commit 42d72ce

Please sign in to comment.