mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 15:38:59 +00:00
tmp(challenges): temporarily remove STW challenge from the list until we
can fix the bug
This commit is contained in:
parent
78624c0bc7
commit
4c6bcb5444
1 changed files with 2 additions and 1 deletions
|
|
@ -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]}}})
|
||||
|
|
|
|||
Loading…
Reference in a new issue