diff --git a/services/frontend/src/shared/api/competitions.ts b/services/frontend/src/shared/api/competitions.ts index 8c47564..eea1533 100644 --- a/services/frontend/src/shared/api/competitions.ts +++ b/services/frontend/src/shared/api/competitions.ts @@ -10,7 +10,7 @@ export const getCompetitions = async (participating?: boolean) => { }; export const getCompetition = async (id: string) => { - return await userFetch(`/competition/${id}`); + return await userFetch(`/competitions/${id}`); }; export const startCompetition = async (competitionId: string) => {