Add profileImage to schema, controllers, and routes

This commit is contained in:
Alex Holliday committed 2024-07-01 11:48:56 -07:00
1 parent 61832570c3
commit e8d4a5d868
7 files changed
+167 -4

No files matched your search

+1
View File
@@ -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({