mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
delete ancient code for hiding a the huge Spread the Word challenge, which has now been closed
This commit is contained in:
@@ -216,7 +216,6 @@ api.getUserChallenges = {
|
|||||||
{group: {$in: user.getGroups()}}, // Challenges in groups where I'm a member
|
{group: {$in: user.getGroups()}}, // Challenges in groups where I'm a member
|
||||||
{leader: user._id}, // Challenges where I'm the leader
|
{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')
|
.sort('-official -createdAt')
|
||||||
// see below why we're not using populate
|
// see below why we're not using populate
|
||||||
|
|||||||
Reference in New Issue
Block a user