Added delete image profile functionality to update user

This commit is contained in:
Alex Holliday committed 2024-07-09 10:23:22 -07:00
1 parent 7deb796fa1
commit 48ca591006
4 files changed
+37 -3

No files matched your search

+2 -1
View File
@@ -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,
};