diff --git a/src/app/scoring.coffee b/src/app/scoring.coffee index cbb4701577..6ccf724138 100644 --- a/src/app/scoring.coffee +++ b/src/app/scoring.coffee @@ -188,7 +188,7 @@ score = (taskId, direction, times, batch, cron) -> ### cron = (resetDom_cb) -> today = +new Date - daysPassed = helpers.daysBetween(today, user.get('privlastCron')) + daysPassed = helpers.daysBetween(today, user.get('lastCron')) if daysPassed > 0 batch = new schema.BatchUpdate(model) batch.startTransaction()