diff --git a/contest/views/oj.py b/contest/views/oj.py index 4164ec332..569627058 100644 --- a/contest/views/oj.py +++ b/contest/views/oj.py @@ -132,7 +132,7 @@ def get(self, request): else: serializer = ACMContestRankSerializer - if force_refresh == "1" and is_contest_admin: + if is_contest_admin: qs = self.get_rank() else: cache_key = f"{CacheKey.contest_rank_cache}:{self.contest.id}"