fix(timstamps): push correct timestamp format on account creation
This commit is contained in:
@ -245,7 +245,7 @@ module.exports = function(User) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (user.progressTimestamps.length === 0) {
|
if (user.progressTimestamps.length === 0) {
|
||||||
user.progressTimestamps.push({ timestamp: Date.now() });
|
user.progressTimestamps.push(Date.now());
|
||||||
}
|
}
|
||||||
return Observable.fromPromise(User.doesExist(null, user.email))
|
return Observable.fromPromise(User.doesExist(null, user.email))
|
||||||
.do(exists => {
|
.do(exists => {
|
||||||
|
Reference in New Issue
Block a user