Tasks scoring and misc fixes (#8925)

* wip: add task scoring and persist checklist items

* remove unused files, fix checklist scoring and start adding support for groups tasks

* amke group and challenge tasks not scoreable
This commit is contained in:
Matteo Pagliazzi
2017-08-04 23:27:11 +02:00
committed by GitHub
parent ac800a94f9
commit c3ba70f5d6
30 changed files with 194 additions and 120 deletions

View File

@@ -93,7 +93,7 @@ module.exports = function unlock (user, req = {}, analytics) {
if (!alreadyOwns) {
if (path.indexOf('gear.') === -1) {
user.markModified('purchased');
if (user.markModified) user.markModified('purchased');
}
user.balance -= cost;