summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/endpoints/users.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/endpoints/users.ts b/src/api/endpoints/users.ts
index 249faed368..4acc13c281 100644
--- a/src/api/endpoints/users.ts
+++ b/src/api/endpoints/users.ts
@@ -29,11 +29,11 @@ module.exports = (params, me) => new Promise(async (res, rej) => {
if (sort) {
if (sort == '+follower') {
_sort = {
- followers_count: 1
+ followers_count: -1
};
} else if (sort == '-follower') {
_sort = {
- followers_count: -1
+ followers_count: 1
};
}
} else {