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

delete optional some function
This commit is contained in:
2025-10-19 09:20:07 +05:00
parent 42ead16848
commit a36b0aa933
@@ -31,11 +31,6 @@ func NewAuthHandler(authService service.AuthService, jwtService service.JWTServi
}
}
// Обработчик для OPTIONS запросов
func (h *AuthHandler) handleOptions(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
}
type RegisterRequest struct {
Email string `json:"email"`
Password string `json:"password"`