Skip to content

Commit

Permalink
fix: update variable init
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Urban committed Jul 27, 2024
1 parent 59e91d9 commit f94085c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/internal/handlers/requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (h *Handler) HandleRequestSite(w http.ResponseWriter, r *http.Request) {
return
}
// Parse the request body
err := json.NewDecoder(r.Body).Decode(&redirect)
err = json.NewDecoder(r.Body).Decode(&redirect)
if err != nil {
sendJSONError(w, "Bad Request", http.StatusBadRequest)
return
Expand Down

0 comments on commit f94085c

Please sign in to comment.