Fix: default order of users/notes (#3234)

This commit is contained in:
MeiMei 2018-11-14 20:18:47 +09:00 committed by syuilo
parent 7ab1265f97
commit e23c93f7e8

View File

@ -180,6 +180,8 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => {
query.createdAt = {
$lt: new Date(ps.untilDate)
};
} else {
sort._id = -1;
}
if (!ps.includeReplies) {