racing typeorm

This commit is contained in:
2025-12-29 00:24:56 +01:00
parent 2f6657f56d
commit 9e17d0752a
55 changed files with 3528 additions and 22 deletions

View File

@@ -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 {