mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fix mongo sort argument (#4021)
GitOrigin-RevId: 639f31d5046b4df5f9f75f688cf73f3366232c31
This commit is contained in:
parent
0360d01aeb
commit
a82ccf9aec
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ const loopForUsers = (skip, callback) => {
|
|||
db.users
|
||||
.find({})
|
||||
.project({ features: 1, lastLoggedIn: 1 })
|
||||
.sort('_id')
|
||||
.sort({ _id: 1 })
|
||||
.skip(skip)
|
||||
.limit(FETCH_LIMIT)
|
||||
.toArray((error, users) => {
|
||||
|
|
Loading…
Reference in a new issue