racing typeorm
This commit is contained in:
@@ -67,6 +67,10 @@ export class InMemoryLeagueRepository implements ILeagueRepository {
|
||||
}
|
||||
}
|
||||
|
||||
async countAll(): Promise<number> {
|
||||
return this.leagues.size;
|
||||
}
|
||||
|
||||
async create(league: League): Promise<League> {
|
||||
this.logger.debug(`Attempting to create league: ${league.id}.`);
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user