add missing await
This commit is contained in:
parent
aa381965b7
commit
b6f5a38f10
@ -135,7 +135,7 @@ const Register = Stacker(verify({
|
|||||||
primary: true
|
primary: true
|
||||||
})
|
})
|
||||||
|
|
||||||
Mail.save(ml);
|
await Mail.save(ml);
|
||||||
|
|
||||||
user.mails.push(ml._id);
|
user.mails.push(ml._id);
|
||||||
await User.save(user)
|
await User.save(user)
|
||||||
|
Loading…
Reference in New Issue
Block a user