diff --git a/app/features/api-public/routes/tournament.$id.ts b/app/features/api-public/routes/tournament.$id.ts index dcdf36d30..3779155eb 100644 --- a/app/features/api-public/routes/tournament.$id.ts +++ b/app/features/api-public/routes/tournament.$id.ts @@ -24,7 +24,7 @@ export const loader = async ({ params, request }: LoaderFunctionArgs) => { .innerJoin("CalendarEvent", "CalendarEvent.tournamentId", "Tournament.id") .innerJoin( "CalendarEventDate", - "CalendarEventDate.id", + "CalendarEventDate.eventId", "CalendarEvent.id", ) .select(({ eb }) => [