fix issues in core

This commit is contained in:
2025-12-23 11:25:08 +01:00
parent 1efd971032
commit 2854ae3c5c
113 changed files with 1142 additions and 458 deletions

View File

@@ -117,12 +117,7 @@ export class CreateLeagueWithSeasonAndScoringUseCase {
const scoringConfig = LeagueScoringConfig.create({
seasonId,
scoringPresetId: preset.id,
championships: {
driver: command.enableDriverChampionship,
team: command.enableTeamChampionship,
nations: command.enableNationsChampionship,
trophy: command.enableTrophyChampionship,
},
championships: [], // Empty array - will be populated by preset
});
this.logger.debug(`Scoring configuration created from preset ${preset.id}.`);