From b904879326f52991ea7bef752a2ec738fc969072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20S=C3=B6derberg?= Date: Mon, 1 Jun 2026 14:26:00 +0200 Subject: [PATCH] fixed test for matches --- backend/app/routes/tournaments/matches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/routes/tournaments/matches.py b/backend/app/routes/tournaments/matches.py index 0a58659..4565812 100644 --- a/backend/app/routes/tournaments/matches.py +++ b/backend/app/routes/tournaments/matches.py @@ -16,7 +16,7 @@ def get_tournament_matches(id: str, db: Session = Depends(get_db)): @router.get("/{id}/matches/{match_id}", response_model=schemas.MatchOut) def get_match_details(id: str, match_id: str, db: Session = Depends(get_db)): - match = crud.get_match(db, id, match_id) + match = crud.get_match(db, match_id) if not match: raise HTTPException(404, "Match not found")