diff --git a/app/features/api-public/routes/sendouq.match.$matchId.ts b/app/features/api-public/routes/sendouq.match.$matchId.ts index 9812343cf..9fff6e49b 100644 --- a/app/features/api-public/routes/sendouq.match.$matchId.ts +++ b/app/features/api-public/routes/sendouq.match.$matchId.ts @@ -64,6 +64,7 @@ export const loader = async ({ params, request }: LoaderFunctionArgs) => { points: null, })), teamAlpha: { + id: match.groupAlpha.id, score: score[0], players: match.groupAlpha.members.map((member) => ({ userId: member.id, @@ -71,6 +72,7 @@ export const loader = async ({ params, request }: LoaderFunctionArgs) => { })), }, teamBravo: { + id: match.groupBravo.id, score: score[1], players: match.groupBravo.members.map((member) => ({ userId: member.id, diff --git a/app/features/api-public/schema.ts b/app/features/api-public/schema.ts index 680dc28e3..73c382e44 100644 --- a/app/features/api-public/schema.ts +++ b/app/features/api-public/schema.ts @@ -121,6 +121,7 @@ export interface GetSendouqMatchResponse { } type SendouqMatchTeam = { + id: number; score: number; players: Array; };