mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 03:52:14 +00:00
lastCron typo
This commit is contained in:
parent
b6e7ebb6ca
commit
77eb2d98e3
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue