Skip to content

Commit

Permalink
Sat, Jul 27, 2024, 1:42 PM +03:00
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdoullahBougataya committed Jul 27, 2024
1 parent f7bc9d7 commit a4c3a79
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified API/main.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion API/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4c3a79

Please sign in to comment.