diff --git a/backend/src/main/java/com/happy/friendogly/club/domain/Club.java b/backend/src/main/java/com/happy/friendogly/club/domain/Club.java index 1563c8d95..f4cbec82d 100644 --- a/backend/src/main/java/com/happy/friendogly/club/domain/Club.java +++ b/backend/src/main/java/com/happy/friendogly/club/domain/Club.java @@ -267,7 +267,7 @@ public void update(String title, String content, String status) { } private void updateStatus(String status) { - if (this.status.isFull() && Status.toStatus(status).isOpen()) { + if (memberCapacity.isCapacityReached(countClubMember()) && Status.toStatus(status).isOpen()) { throw new FriendoglyException("인원이 가득찬 모임은 다시 OPEN 상태로 변경할 수 없습니다."); } this.status = Status.toStatus(status);