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 {