modified: serv_nginx/api_bb/internal/handlers/auth.go

change into reqest last and first names into json
This commit is contained in:
2025-10-10 05:32:46 +05:00
parent fe28795b84
commit 3184445ebc
+2 -2
View File
@@ -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"`