fix(user): make email optional when creating and updating
This commit is contained in:
@ -22,7 +22,7 @@ const doc = {
|
||||
},
|
||||
user: {
|
||||
$employee_id: "EMP001",
|
||||
$email: "admin@gmail.com",
|
||||
email: "admin@gmail.com",
|
||||
$username: "admin",
|
||||
$password: "12345aA!",
|
||||
$retype_password: "12345aA!",
|
||||
@ -35,7 +35,7 @@ const doc = {
|
||||
$status: "Y"
|
||||
},
|
||||
user_profile: {
|
||||
$email: "admin@gmail.com",
|
||||
email: "admin@gmail.com",
|
||||
$username: "admin",
|
||||
$name: "Administrator"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user