👔 (comment bg) add command background helper

add command background helper and implemented on edit user service
This commit is contained in:
unknown
2025-06-29 05:23:10 +07:00
parent 2f53060659
commit fea545f0de
3 changed files with 38 additions and 7 deletions

View File

@ -17,4 +17,8 @@ export const editUserSchema = Joi.object({
.max(15),
bioProfile: Joi.string().max(300),
deletedAt: Joi.date(),
// validate in helper
avatar: Joi.any(),
commentBackground: Joi.any(),
});