From a36b0aa933a6e5b69748608c0479dbf59efcefaa Mon Sep 17 00:00:00 2001 From: valitovgaziz Date: Sun, 19 Oct 2025 09:20:07 +0500 Subject: [PATCH] modified: serv_nginx/api_bb/internal/handlers/auth.go delete optional some function --- serv_nginx/api_bb/internal/handlers/auth.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/serv_nginx/api_bb/internal/handlers/auth.go b/serv_nginx/api_bb/internal/handlers/auth.go index 82fd166..6107f37 100644 --- a/serv_nginx/api_bb/internal/handlers/auth.go +++ b/serv_nginx/api_bb/internal/handlers/auth.go @@ -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"`