This commit is contained in:
syuilo 2018-03-17 23:16:01 +09:00
parent 6600b2897e
commit 2d11b3967e

View file

@ -29,11 +29,11 @@ module.exports = (params, me) => new Promise(async (res, rej) => {
if (sort) { if (sort) {
if (sort == '+follower') { if (sort == '+follower') {
_sort = { _sort = {
followers_count: 1 followers_count: -1
}; };
} else if (sort == '-follower') { } else if (sort == '-follower') {
_sort = { _sort = {
followers_count: -1 followers_count: 1
}; };
} }
} else { } else {