resolve merge conflict, favoring upstream
This commit is contained in:
@ -259,14 +259,18 @@ exports.completedCourseware = function (req, res, next) {
|
|||||||
req.user.uncompletedCoursewares.splice(index, 1);
|
req.user.uncompletedCoursewares.splice(index, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
req.user.save(function (err, user, next) {
|
exports.completedBasejump = function (req, res, next) {
|
||||||
if (err) {
|
var isCompletedWith = req.body.bonfireInfo.completedWith || undefined;
|
||||||
return next(err);
|
var isCompletedDate = Math.round(+new Date());
|
||||||
|
var coursewareHash = req.body.coursewareInfo.coursewareHash;
|
||||||
|
var solutionLink = req.body.coursewareInfo.solutionLink;
|
||||||
|
if(!solutionLink) {
|
||||||
|
// flash error and redirect
|
||||||
}
|
}
|
||||||
if (user) {
|
if (user) {
|
||||||
res.send(true);
|
res.send(true);
|
||||||
}
|
}
|
||||||
});
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.completedZiplineOrBasejump = function (req, res, next) {
|
exports.completedZiplineOrBasejump = function (req, res, next) {
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"name": "Status Checker",
|
|
||||||
"picture": "",
|
|
||||||
"video": "",
|
|
||||||
"gitHubLink": "https://github.com/FreeCodeCamp/ZiplineStatusChecker",
|
|
||||||
"demoLink": "",
|
|
||||||
"details": []
|
|
||||||
}
|
|
||||||
]
|
|
@ -49,6 +49,7 @@ block content
|
|||||||
var challengeName = !{JSON.stringify(name)};
|
var challengeName = !{JSON.stringify(name)};
|
||||||
var passedCoursewareName = challengeName;
|
var passedCoursewareName = challengeName;
|
||||||
var started = Math.floor(Date.now());
|
var started = Math.floor(Date.now());
|
||||||
|
|
||||||
.col-xs-12.col-sm-12.col-md-8
|
.col-xs-12.col-sm-12.col-md-8
|
||||||
#mainEditorPanel
|
#mainEditorPanel
|
||||||
form.code
|
form.code
|
||||||
|
Reference in New Issue
Block a user