fix issues in core
This commit is contained in:
@@ -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}.`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user