fix unset

This commit is contained in:
Alex Holliday committed 2026-02-07 20:33:11 +00:00
1 parent f2b740a8f9
commit af4c9d8f91
4 files changed
+78 -82

No files matched your search

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