⚰️ delete validation for image with joi in edit user schema
need to be deleted because image validation is run inside helper not joi validation body schema
This commit is contained in:
@ -16,7 +16,5 @@ export const editUserSchema = Joi.object({
|
||||
.min(7)
|
||||
.max(15),
|
||||
bioProfile: Joi.string().max(300),
|
||||
avatar: Joi.string().uri(),
|
||||
commentBackground: Joi.string().uri(),
|
||||
deletedAt: Joi.date(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user