add update user api
This commit is contained in:
parent
c411f2a8a4
commit
5d508c4731
3 changed files with 64 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ export const profileUpdateSchema = Joi.object({
|
|||
.max(15)
|
||||
.optional(),
|
||||
avatar_url: Joi.string().optional(),
|
||||
birthday: Joi.date().optional()
|
||||
birth_date: Joi.date().optional()
|
||||
});
|
||||
|
||||
export const changePasswordSchema = Joi.object({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue