fix profile err

This commit is contained in:
soukainna 2023-02-23 09:52:11 +01:00
parent e11514b6d5
commit 11e2375456
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ type UserForm struct {
FirstName string `json:"first_name" validate:"required"`
LastName string `json:"last_name" validate:"required"`
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"`
Gender string `json:"gender"`
}