website cleanup
This commit is contained in:
@@ -21,7 +21,12 @@ export class LeagueStandingsPresenter implements Presenter<GetLeagueStandingsRes
|
||||
joinedAt: standing.driver.joinedAt.toString(),
|
||||
},
|
||||
points: standing.points,
|
||||
rank: standing.rank,
|
||||
position: standing.rank,
|
||||
// TODO: GetLeagueStandings currently does not provide these metrics.
|
||||
// Keep them stable in the API contract for now.
|
||||
wins: 0,
|
||||
podiums: 0,
|
||||
races: 0,
|
||||
}));
|
||||
this.result = { standings };
|
||||
}
|
||||
@@ -30,4 +35,4 @@ export class LeagueStandingsPresenter implements Presenter<GetLeagueStandingsRes
|
||||
if (!this.result) throw new Error('Presenter not presented');
|
||||
return this.result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user