fix: linting
All checks were successful
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 1m14s

This commit is contained in:
2026-01-03 20:56:38 +01:00
parent 029c01cd32
commit 209af10fd4

View File

@@ -117,13 +117,13 @@ func (h HandlerImpl) handlePost() http.HandlerFunc {
) )
idStr := r.PathValue("id") idStr := r.PathValue("id")
if idStr != "new" { // if idStr != "new" {
// id, err = uuid.Parse(idStr) // id, err = uuid.Parse(idStr)
// if err != nil { // if err != nil {
// core.HandleError(w, r, fmt.Errorf("could not parse Id: %w", core.ErrBadRequest)) // core.HandleError(w, r, fmt.Errorf("could not parse Id: %w", core.ErrBadRequest))
// return // return
// } // }
} // }
valueF, err := strconv.ParseFloat(r.FormValue("value"), 64) valueF, err := strconv.ParseFloat(r.FormValue("value"), 64)
if err != nil { if err != nil {