From 0631e9ba15f765413283e76dd27aba98d67d8124 Mon Sep 17 00:00:00 2001 From: Alys Date: Sun, 10 Jul 2016 10:22:24 +1000 Subject: [PATCH] delete ancient code for hiding a the huge Spread the Word challenge, which has now been closed --- website/server/controllers/api-v3/challenges.js | 1 - 1 file changed, 1 deletion(-) diff --git a/website/server/controllers/api-v3/challenges.js b/website/server/controllers/api-v3/challenges.js index b4173fa378..c302e941cb 100644 --- a/website/server/controllers/api-v3/challenges.js +++ b/website/server/controllers/api-v3/challenges.js @@ -216,7 +216,6 @@ api.getUserChallenges = { {group: {$in: user.getGroups()}}, // Challenges in groups where I'm a member {leader: user._id}, // Challenges where I'm the leader ], - _id: {$ne: '95533e05-1ff9-4e46-970b-d77219f199e9'}, // remove the Spread the Word Challenge for now, will revisit when we fix the closing-challenge bug TODO revisit }) .sort('-official -createdAt') // see below why we're not using populate