refactor league module (wip)
This commit is contained in:
@@ -66,7 +66,7 @@ export class GetLeagueProtestsPresenter implements Presenter<GetLeagueProtestsRe
|
||||
iracingId: protestingDriver.iracingId.toString(),
|
||||
name: protestingDriver.name.toString(),
|
||||
country: protestingDriver.country.toString(),
|
||||
bio: protestingDriver.bio?.toString(),
|
||||
bio: protestingDriver.bio?.toString() || '',
|
||||
joinedAt: protestingDriver.joinedAt.toDate().toISOString(),
|
||||
};
|
||||
}
|
||||
@@ -76,8 +76,8 @@ export class GetLeagueProtestsPresenter implements Presenter<GetLeagueProtestsRe
|
||||
iracingId: accusedDriver.iracingId.toString(),
|
||||
name: accusedDriver.name.toString(),
|
||||
country: accusedDriver.country.toString(),
|
||||
bio: accusedDriver.bio?.toString(),
|
||||
joinedAt: accusedDriver.joinedAt.toISOString(),
|
||||
bio: accusedDriver.bio?.toString() || '',
|
||||
joinedAt: accusedDriver.joinedAt.toDate().toISOString(),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user