Paired with is now properly saved, bonfire challenge framework is almost ready for release

This commit is contained in:
Nathan Leniz
2015-01-24 13:40:58 -05:00
parent 4128b3b765
commit 0ca042a1f0
3 changed files with 3 additions and 4 deletions

View File

@@ -53,10 +53,8 @@ exports.returnBonfire = function(req, res, next) {
Bonfire.find({}, null, { sort: { bonfireNumber: 1 } }, function(err, bonfire) {
debug(bonfire[bonfireNumber].challengeEntryPoint);
if (err) {
debug('bonfire err: ', err);
next(err);
}
debug(bonfire[bonfireNumber]._id);
res.render('bonfire/show', {
completedWith: null,
title: bonfire[bonfireNumber].name,