diff --git a/src/main/java/com/insert/ioj/domain/contest/domain/Contest.java b/src/main/java/com/insert/ioj/domain/contest/domain/Contest.java index a91435b..7495af7 100644 --- a/src/main/java/com/insert/ioj/domain/contest/domain/Contest.java +++ b/src/main/java/com/insert/ioj/domain/contest/domain/Contest.java @@ -34,7 +34,7 @@ public Contest(String title, LocalDateTime startTime, LocalDateTime endTime, Aut } public void checkRole(Authority authority) { - if (authority == Authority.USER) return; + if (this.authority == Authority.USER) return; if (this.authority == authority) return; if (this.authority == Authority.ADMIN) return;