diff --git a/API/main.exe b/API/main.exe index 5b4a1ba..3633ee4 100644 Binary files a/API/main.exe and b/API/main.exe differ diff --git a/API/main.go b/API/main.go index 2efe913..86d5826 100644 --- a/API/main.go +++ b/API/main.go @@ -84,7 +84,7 @@ func handler(w http.ResponseWriter, r *http.Request) { var id int var err error if id_str != "" { - id, err := strconv.Atoi(id_str) + id, err = strconv.Atoi(id_str) if err != nil { http.Error(w, "Invalid id parameter", http.StatusBadRequest) return