This commit is contained in:
2025-12-17 00:33:13 +01:00
parent 8c67081953
commit f01e01e50c
186 changed files with 9242 additions and 1342 deletions

View File

@@ -81,7 +81,7 @@ export class CreateLeagueWithSeasonAndScoringUseCase
this.logger.debug(`Generated seasonId: ${seasonId}`);
const season = Season.create({
id: seasonId,
leagueId: league.id,
leagueId: league.id.toString(),
gameId: command.gameId,
name: `${command.name} Season 1`,
year: new Date().getFullYear(),
@@ -113,7 +113,7 @@ export class CreateLeagueWithSeasonAndScoringUseCase
this.logger.info(`Scoring configuration saved for season ${seasonId}.`);
const result: CreateLeagueWithSeasonAndScoringResultDTO = {
leagueId: league.id,
leagueId: league.id.toString(),
seasonId,
scoringPresetId: preset.id,
scoringPresetName: preset.name,