Better ref logic and better redundancy on the scheduling

This commit is contained in:
2026-06-01 14:22:12 +02:00 Verified
parent 1dc3998489
commit d414f28cf5
3 changed files with 92 additions and 82 deletions
+3 -3
View File
@@ -35,7 +35,7 @@ async def report_score(
_check_auth(t, user, report.code)
match = crud.get_match(db, id, match_id)
match = crud.get_match(db, match_id)
if not match:
raise HTTPException(404, "Match not found")
@@ -71,7 +71,7 @@ async def edit_score(
_check_auth(t, user, report.code)
match = crud.get_match(db, id, match_id)
match = crud.get_match(db, match_id)
if not match:
raise HTTPException(404, "Match not found")
@@ -105,7 +105,7 @@ async def clear_score(
_check_auth(t, user, code)
match = crud.get_match(db, id, match_id)
match = crud.get_match(db, match_id)
if not match:
raise HTTPException(404, "Match not found")