fix issues

This commit is contained in:
2025-12-26 11:49:20 +01:00
parent d08ec10b40
commit 68ae9da22a
44 changed files with 505 additions and 179 deletions

View File

@@ -20,6 +20,7 @@ export class GetTotalLeaguesUseCase {
async execute(
_input: GetTotalLeaguesInput,
): Promise<Result<void, ApplicationErrorCode<GetTotalLeaguesErrorCode, { message: string }>>> {
void _input;
try {
const leagues = await this.leagueRepository.findAll();
const result: GetTotalLeaguesResult = { totalLeagues: leagues.length };