Add profileImage to schema, controllers, and routes
This commit is contained in:
1 parent
61832570c3
commit
e8d4a5d868
7 files changed
+167
-4
No files matched your search
@@ -14,6 +14,7 @@ const registerValidation = joi.object({
|
||||
lastname: joi.string().required(),
|
||||
email: joi.string().email().required(),
|
||||
password: joi.string().min(8).required(),
|
||||
profileImage: joi.any(),
|
||||
});
|
||||
|
||||
const editUserParamValidation = joi.object({
|
||||
|
||||
Reference in new issue
Block a user