diff --git a/backend/app/schemas/contest.py b/backend/app/schemas/contest.py index 39a8456..e105fe0 100644 --- a/backend/app/schemas/contest.py +++ b/backend/app/schemas/contest.py @@ -27,7 +27,7 @@ class ContestResponse(BaseModel): start_time: datetime end_time: datetime is_active: bool - show_leaderboard_during_contest: bool + show_leaderboard_during_contest: bool = False created_by: int | None created_at: datetime is_running: bool @@ -46,7 +46,7 @@ class ContestListResponse(BaseModel): start_time: datetime end_time: datetime is_active: bool - show_leaderboard_during_contest: bool + show_leaderboard_during_contest: bool = False is_running: bool has_ended: bool problems_count: int = 0