mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-13 03:43:09 +02:00
[API] Fix bug
This commit is contained in:
parent
95e7e5cb55
commit
84ba09a378
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||||
limit: limit,
|
limit: limit,
|
||||||
skip: offset,
|
skip: offset,
|
||||||
sort: {
|
sort: {
|
||||||
|
_id: -1,
|
||||||
repost_count: -1
|
repost_count: -1
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue