Skip to content

Commit

Permalink
refactor: 조건 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Sangwook02 committed Feb 9, 2024
1 parent db0adef commit 426f56b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public static Member createGuestMember(String oauthId) {
}

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

0 comments on commit 426f56b

Please sign in to comment.