view data fixes
This commit is contained in:
@@ -25,6 +25,8 @@ export class LeagueScheduleService implements Service {
|
||||
// Map LeagueScheduleDTO to LeagueScheduleApiDto
|
||||
const apiDto: LeagueScheduleApiDto = {
|
||||
leagueId,
|
||||
seasonId: data.seasonId || '',
|
||||
published: data.published || false,
|
||||
races: data.races.map(race => ({
|
||||
id: race.id,
|
||||
name: race.name,
|
||||
|
||||
Reference in New Issue
Block a user