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 {
|
type UserResponse struct {
|
||||||
ID uint `json:"id"`
|
ID uint `json:"id"`
|
||||||
Email string `json:"email"`
|
Email string `json:"email"`
|
||||||
FirstName string `json:"first_name"`
|
FirstName string `json:"firstName"`
|
||||||
LastName string `json:"last_name"`
|
LastName string `json:"lastName"`
|
||||||
Phone string `json:"phone"`
|
Phone string `json:"phone"`
|
||||||
Experience string `json:"experience"`
|
Experience string `json:"experience"`
|
||||||
Goals string `json:"goals"`
|
Goals string `json:"goals"`
|
||||||
|
|||||||
Reference in New Issue
Block a user