fix issues in core
This commit is contained in:
@@ -172,16 +172,16 @@ export class ImportRaceResultsApiUseCase {
|
||||
|
||||
this.logger.info('ImportRaceResultsApiUseCase:race results created', { raceId });
|
||||
|
||||
await this.standingRepository.recalculate(league.id);
|
||||
await this.standingRepository.recalculate(league.id.toString());
|
||||
|
||||
this.logger.info('ImportRaceResultsApiUseCase:standings recalculated', {
|
||||
leagueId: league.id,
|
||||
leagueId: league.id.toString(),
|
||||
});
|
||||
|
||||
const result: ImportRaceResultsApiResult = {
|
||||
success: true,
|
||||
raceId,
|
||||
leagueId: league.id,
|
||||
leagueId: league.id.toString(),
|
||||
driversProcessed: results.length,
|
||||
resultsRecorded: validEntities.length,
|
||||
errors: [],
|
||||
|
||||
Reference in New Issue
Block a user