Skip to content

Commit

Permalink
fix: limit in highscores
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsbergPhilip committed Nov 15, 2024
1 parent 57f277e commit 4162983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/services/highscores.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4162983

Please sign in to comment.