From bd8b32b406c150faab65e90e431f2ba16787e2da Mon Sep 17 00:00:00 2001 From: pichalite Date: Thu, 18 Feb 2016 22:34:34 +0000 Subject: [PATCH] search banned users only on /users/banned route --- src/user/search.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/user/search.js b/src/user/search.js index db44e6eba6..b2a1e83a80 100644 --- a/src/user/search.js +++ b/src/user/search.js @@ -97,8 +97,6 @@ module.exports = function(User) { }); } - console.log(userData); - if(data.bannedOnly) { userData = userData.filter(function(user) { return user && user.banned;