mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
userSchema.lastCron.default new Date => Date.now
This commit is contained in:
parent
5cb6e7e0dd
commit
e2f951e138
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ var UserSchema = new Schema({
|
||||||
|
|
||||||
lastCron: {
|
lastCron: {
|
||||||
type: Date,
|
type: Date,
|
||||||
'default': new Date
|
'default': Date.now
|
||||||
},
|
},
|
||||||
/* FIXME remove?*/
|
/* FIXME remove?*/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue