fix profile err
This commit is contained in:
parent
e11514b6d5
commit
11e2375456
|
@ -16,7 +16,7 @@ type UserForm struct {
|
||||||
FirstName string `json:"first_name" validate:"required"`
|
FirstName string `json:"first_name" validate:"required"`
|
||||||
LastName string `json:"last_name" validate:"required"`
|
LastName string `json:"last_name" validate:"required"`
|
||||||
Email string `json:"email" validate:"required,email"`
|
Email string `json:"email" validate:"required,email"`
|
||||||
PhoneNumber string `json:"phone_number" validate:"required,phoneNumber"`
|
PhoneNumber string `json:"phone_number" `
|
||||||
Address any `json:"address,omitempty"`
|
Address any `json:"address,omitempty"`
|
||||||
Gender string `json:"gender"`
|
Gender string `json:"gender"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue