fix unset
This commit is contained in:
1 parent
f2b740a8f9
commit
af4c9d8f91
4 files changed
+78
-82
No files matched your search
@@ -60,7 +60,7 @@ const editUserBodyValidation = joi.object({
|
||||
profileImage: joi.any(),
|
||||
newPassword: joi.string().min(8).pattern(passwordPattern),
|
||||
password: joi.string().min(8).pattern(passwordPattern),
|
||||
deleteProfileImage: joi.boolean(),
|
||||
deleteProfileImage: joi.alternatives().try(joi.boolean(), joi.string().valid("true", "false")),
|
||||
});
|
||||
|
||||
const recoveryValidation = joi.object({
|
||||
|
||||
Reference in new issue
Block a user