website refactor
This commit is contained in:
@@ -18,8 +18,8 @@ export type GetLeagueStatsErrorCode = 'LEAGUE_NOT_FOUND' | 'REPOSITORY_ERROR';
|
||||
|
||||
export class GetLeagueStatsUseCase {
|
||||
constructor(
|
||||
private readonly leagueMembershipRepository: ILeagueMembershipRepository,
|
||||
private readonly raceRepository: IRaceRepository,
|
||||
private readonly leagueMembershipRepository: LeagueMembershipRepository,
|
||||
private readonly raceRepository: RaceRepository,
|
||||
private readonly getDriverRating: (input: {
|
||||
driverId: string;
|
||||
}) => Promise<{ rating: number | null; ratingChange: number | null }>,
|
||||
|
||||
Reference in New Issue
Block a user