mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 09:23:48 +01:00
Fix: default order of users/notes (#3234)
This commit is contained in:
parent
7ab1265f97
commit
e23c93f7e8
@ -180,6 +180,8 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => {
|
|||||||
query.createdAt = {
|
query.createdAt = {
|
||||||
$lt: new Date(ps.untilDate)
|
$lt: new Date(ps.untilDate)
|
||||||
};
|
};
|
||||||
|
} else {
|
||||||
|
sort._id = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ps.includeReplies) {
|
if (!ps.includeReplies) {
|
||||||
|
Loading…
Reference in New Issue
Block a user