mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-12 23:20:25 +08:00
removed sort
This commit is contained in:
parent
050e18dd3e
commit
1239f6ecae
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ class LeaderboardsDAO {
|
|||
const preset = await mongoDB()
|
||||
.collection(`leaderboards.${language}.${mode}.${mode2}`)
|
||||
.find()
|
||||
.sort({ rank: 1 })
|
||||
// .sort({ rank: 1 })
|
||||
.skip(parseInt(skip))
|
||||
.limit(parseInt(limit))
|
||||
.toArray();
|
||||
|
|
Loading…
Reference in a new issue