Skip to content

Commit

Permalink
⚙️ :: (#471) 도메인 로직 실수
Browse files Browse the repository at this point in the history
  • Loading branch information
geunoo committed Dec 3, 2023
1 parent ad61a7d commit fbb1dd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void checkReviewAuthority() {
}

public void checkApplicationStatus(ApplicationStatus requestedStatus, ApplicationStatus...baseStatuses) {
if (List.of(baseStatuses).contains(requestedStatus)) {
if (!List.of(baseStatuses).contains(requestedStatus)) {
throw ApplicationStatusCannotChangeException.EXCEPTION;
}
}
Expand Down

0 comments on commit fbb1dd8

Please sign in to comment.