Update: mail to email
This commit is contained in:
parent
e6e3b6b15d
commit
6e55133335
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ User.exists({role: roles.SuperAdmin}, function (err, docs){
|
|||
const user = new User({
|
||||
login: login,
|
||||
hashPass: hashPass,
|
||||
mail: mail,
|
||||
email: mail,
|
||||
role: roles.SuperAdmin
|
||||
});
|
||||
user
|
||||
|
|
|
|||
Reference in a new issue