modified: serv_nginx/api_bb/internal/handlers/auth.go
change into reqest last and first names into json
This commit is contained in:
@@ -73,8 +73,8 @@ type LoginRequest struct {
|
||||
type UserResponse struct {
|
||||
ID uint `json:"id"`
|
||||
Email string `json:"email"`
|
||||
FirstName string `json:"first_name"`
|
||||
LastName string `json:"last_name"`
|
||||
FirstName string `json:"firstName"`
|
||||
LastName string `json:"lastName"`
|
||||
Phone string `json:"phone"`
|
||||
Experience string `json:"experience"`
|
||||
Goals string `json:"goals"`
|
||||
|
||||
Reference in New Issue
Block a user