wip
This commit is contained in:
@@ -64,9 +64,8 @@ export class RecalculateChampionshipStandingsUseCase {
|
||||
|
||||
const results = await this.resultRepository.findByRaceId(race.id);
|
||||
|
||||
// For this slice, penalties are league-level and not race-specific,
|
||||
// so we simply ignore them in the use case to keep behavior minimal.
|
||||
const penalties = await this.penaltyRepository.findByLeagueId(season.leagueId);
|
||||
// Fetch penalties for this specific race
|
||||
const penalties = await this.penaltyRepository.findByRaceId(race.id);
|
||||
|
||||
const participantPoints = this.eventScoringService.scoreSession({
|
||||
seasonId,
|
||||
|
||||
Reference in New Issue
Block a user