tmp(challenges): remove STW chal from tavern, revert with 4c6bcb5444

This commit is contained in:
Tyler Renelle 2014-09-12 19:15:11 -06:00
parent 49f2718eec
commit 84d1bf9e27

View file

@ -33,6 +33,7 @@ var populateQuery = function(type, q){
q.populate('invites', nameFields);
q.populate({
path: 'challenges',
match: (type=='habitrpg') ? {_id:{$ne:'95533e05-1ff9-4e46-970b-d77219f199e9'}} : undefined, // remove the Spread the Word Challenge for now, will revisit when we fix the closing-challenge bug
select: challengeFields,
options: {sort: {official: -1, timestamp: -1}}
});