From 4c6bcb544436a0343ed4b530c4f59805a689b61c Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Fri, 12 Sep 2014 14:12:48 -0600 Subject: [PATCH] tmp(challenges): temporarily remove STW challenge from the list until we can fix the bug --- src/controllers/challenges.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/challenges.js b/src/controllers/challenges.js index 9545f4adae..9d2fb5992c 100644 --- a/src/controllers/challenges.js +++ b/src/controllers/challenges.js @@ -33,7 +33,8 @@ api.list = function(req, res, next) { {members:{$in:[user._id]}}, // all challenges I belong to (is this necessary? thought is a left a group, but not its challenge) {group:{$in:gids}}, // all challenges in my groups {group: 'habitrpg'} // public group - ] + ], + _id:{$ne:'95533e05-1ff9-4e46-970b-d77219f199e9'} // remove the Spread the Word Challenge for now, will revisit when we fix the closing-challenge bug }) .select('name leader description group memberCount prize official') .select({members:{$elemMatch:{$in:[user._id]}}})