Wiring up analytics for courseware, unifying analytics between coursewares and bonfires, general housekeeping tasks for live push

This commit is contained in:
Michael Q Larson
2015-02-07 21:11:26 -08:00
parent 07c5757538
commit 180699adb2
8 changed files with 19 additions and 12 deletions

View File

@@ -161,7 +161,6 @@ exports.generateChallenge = function(req, res) {
};
exports.completedCourseware = function (req, res) {
debug('In post call with data from req', req);
var isCompletedDate = Math.round(+new Date() / 1000);
var coursewareHash = req.body.coursewareInfo.coursewareHash;
@@ -182,7 +181,6 @@ exports.completedCourseware = function (req, res) {
throw err;
}
if (user) {
debug('Saving user');
res.send(true)
}
});