main
Deploy Iddaai Backend / build-and-deploy (push) Failing after 2m6s

This commit is contained in:
2026-05-12 02:43:02 +03:00
parent f8599bdb9a
commit b6d64b59bf
35 changed files with 1400 additions and 630 deletions
+8 -1
View File
@@ -623,6 +623,8 @@ export class MatchesService {
score: {
home: liveMatch.scoreHome,
away: liveMatch.scoreAway,
htHome: (liveMatch as any).htScoreHome ?? null,
htAway: (liveMatch as any).htScoreAway ?? null,
},
date: new Date(Number(liveMatch.mstUtc)),
// Fill missing relations with empty arrays
@@ -802,7 +804,12 @@ export class MatchesService {
teamStats: normalizedTeamStats,
mstUtc: Number(match.mstUtc),
date: match.date || new Date(Number(match.mstUtc)),
score: match.score || { home: match.scoreHome, away: match.scoreAway },
score: match.score || {
home: match.scoreHome,
away: match.scoreAway,
htHome: match.htScoreHome ?? null,
htAway: match.htScoreAway ?? null,
},
homeTeam: {
...match.homeTeam,
logo: match.homeTeamId