modified: serv_nginx/api_bb/internal/handlers/auth.go
delete optional some function
This commit is contained in:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user