Added delete image profile functionality to update user
This commit is contained in:
1 parent
7deb796fa1
commit
48ca591006
4 files changed
+37
-3
No files matched your search
@@ -26,6 +26,7 @@ const editUserBodyValidation = joi.object({
|
||||
firstname: joi.string(),
|
||||
lastname: joi.string(),
|
||||
profileImage: joi.any(),
|
||||
deleteProfileImage: joi.boolean(),
|
||||
role: joi.string(),
|
||||
});
|
||||
|
||||
@@ -165,5 +166,5 @@ module.exports = {
|
||||
createCheckBodyValidation,
|
||||
getChecksParamValidation,
|
||||
deleteChecksParamValidation,
|
||||
deleteUserParamValidation
|
||||
deleteUserParamValidation,
|
||||
};
|
||||
Reference in new issue
Block a user