Skip to content

Commit

Permalink
Fix scoreboard limiter
Browse files Browse the repository at this point in the history
  • Loading branch information
jrandiny committed Feb 27, 2021
1 parent 634ad27 commit 9d89cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/GlobalScoreboardController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class GlobalScoreboardController {
.select(["point", "user.name"])
.orderBy("point", "DESC")
.skip(offset)
.take(limit)
.limit(limit)
.getRawMany();

return responseGenerator(res, 200, "ok", scoreboard);
Expand Down

0 comments on commit 9d89cef

Please sign in to comment.