Changed to camel case
This commit is contained in:
1 parent
73801fa6cc
commit
c5b56dbc2b
6 files changed
+23
-23
No files matched your search
@@ -43,8 +43,8 @@ const passwordSchema = joi
|
||||
});
|
||||
|
||||
const credentials = joi.object({
|
||||
firstname: nameSchema,
|
||||
lastname: nameSchema,
|
||||
firstName: nameSchema,
|
||||
lastName: nameSchema,
|
||||
email: joi
|
||||
.string()
|
||||
.trim()
|
||||
|
||||
Reference in new issue
Block a user