From 41629831b50b62579403a3b842c27375ad59809f Mon Sep 17 00:00:00 2001 From: Philip Forsberg Date: Fri, 15 Nov 2024 13:58:59 +0100 Subject: [PATCH] fix: limit in highscores --- packages/backend/src/services/highscores.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/services/highscores.service.ts b/packages/backend/src/services/highscores.service.ts index 14e8304f..6d287835 100755 --- a/packages/backend/src/services/highscores.service.ts +++ b/packages/backend/src/services/highscores.service.ts @@ -60,7 +60,7 @@ export class HighscoresService { private async allBySeasonId(seasonId: string, limit: number = 0) { const currentSeason = await this.seasonsService.getCurrentSeason(); - return this.repo.allBySeasonIdRaw(seasonId, currentSeason.id); + return this.repo.allBySeasonIdRaw(seasonId, currentSeason.id, limit); } public async allBySeasonIdPrivate(