mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 23:40:38 +01:00
fix: sortby
This commit is contained in:
@@ -64,7 +64,7 @@ async function getUsers(req, res) {
|
||||
}
|
||||
if (!set.length) {
|
||||
set.push('users:online');
|
||||
sortBy = 'online';
|
||||
sortBy = 'lastonline';
|
||||
}
|
||||
return set.length > 1 ? set : set[0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user