Fix waypoints are not bonfires

This commit is contained in:
Berkeley Martinez
2015-12-08 13:00:03 -08:00
parent 6b7a314205
commit 9774638d43

View File

@ -224,7 +224,7 @@ module.exports = function(app) {
); );
const bonfires = profileUser.completedChallenges.filter(function(obj) { const bonfires = profileUser.completedChallenges.filter(function(obj) {
return obj.challengeType === 5 && (obj.name || '').match(/Bonfire/g); return (obj.name || '').match(/^Bonfire/g);
}); });
const waypoints = profileUser.completedChallenges.filter(function(obj) { const waypoints = profileUser.completedChallenges.filter(function(obj) {