fix: linting
All checks were successful
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 1m14s
All checks were successful
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 1m14s
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user