feat: update user update model

This commit is contained in:
Damillora 2025-02-22 17:43:56 +00:00
parent c887a9e49c
commit 6581e40f80

View File

@ -9,8 +9,8 @@ type UserCreateModel struct {
type UserUpdateModel struct {
Email string `json:"email" validate:"required,email"`
Username string `json:"username" validate:"required"`
OldPassword string `json:"oldPassword"`
NewPassword string `json:"newPassword"`
OldPassword string `json:"old_password"`
NewPassword string `json:"new_password"`
}
type TagTypeCreateModel struct {