refactor: deprecate socket.emit('users.search') use api route

This commit is contained in:
Barış Soner Uşaklı
2020-10-16 23:30:22 -04:00
parent 083c74e059
commit 2279e37261
10 changed files with 58 additions and 84 deletions

View File

@@ -45,7 +45,7 @@ async function getUsers(req, res) {
postcount: 'users:postcount',
reputation: 'users:reputation',
joindate: 'users:joindate',
online: 'users:online',
lastonline: 'users:online',
flags: 'users:flags',
};