From 209af10fd4146d8f40131f30889ad233651d89b6 Mon Sep 17 00:00:00 2001 From: Tim Wundenberg Date: Sat, 3 Jan 2026 20:56:38 +0100 Subject: [PATCH] fix: linting --- internal/budget/handler.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/internal/budget/handler.go b/internal/budget/handler.go index bac366e..d5eef68 100644 --- a/internal/budget/handler.go +++ b/internal/budget/handler.go @@ -117,13 +117,13 @@ func (h HandlerImpl) handlePost() http.HandlerFunc { ) idStr := r.PathValue("id") - if idStr != "new" { - // id, err = uuid.Parse(idStr) - // if err != nil { - // core.HandleError(w, r, fmt.Errorf("could not parse Id: %w", core.ErrBadRequest)) - // return - // } - } + // if idStr != "new" { + // id, err = uuid.Parse(idStr) + // if err != nil { + // core.HandleError(w, r, fmt.Errorf("could not parse Id: %w", core.ErrBadRequest)) + // return + // } + // } valueF, err := strconv.ParseFloat(r.FormValue("value"), 64) if err != nil {