mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-11 22:23:32 +08:00
inverted result sorting
This commit is contained in:
parent
6ff2984ef7
commit
99fca1b3e3
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class ResultDAO {
|
|||
const result = await mongoDB()
|
||||
.collection("results")
|
||||
.find({ uid })
|
||||
.sort({ timestamp: 1 })
|
||||
.sort({ timestamp: -1 })
|
||||
.skip(start)
|
||||
.limit(end)
|
||||
.toArray(); // this needs to be changed to later take patreon into consideration
|
||||
|
|
Loading…
Reference in a new issue