diff --git a/backend/src/games/games.service.ts b/backend/src/games/games.service.ts index 716bcb0e..41f12cd5 100644 --- a/backend/src/games/games.service.ts +++ b/backend/src/games/games.service.ts @@ -281,10 +281,6 @@ export class GamesService { order: { startDate: 'ASC' }, }); - if (!games) { - throw new NotFoundException(`No games found for field: ${fieldId}`); - } - return games; } @@ -298,10 +294,6 @@ export class GamesService { order: { startDate: 'ASC' }, }); - if (!games) { - throw new NotFoundException(`No games found for field: ${fieldId}`); - } - return games; } @@ -315,9 +307,7 @@ export class GamesService { status: GameStatus.APPROVED, }, }); - if (!games) { - throw new NotFoundException(`No games found for field: ${fieldId}`); - } + return games; }