Skip to content

Commit

Permalink
404 -> 204
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-goodisman committed May 3, 2024
1 parent 136216a commit c1d384e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/denylist/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func deleteDenylistEntry(response http.ResponseWriter, request *http.Request, de
}
_, exists := denylist.Load(id)
if !exists {
http.Error(response, "denylist entry not found with that id", http.StatusNotFound)
response.WriteHeader(http.StatusNoContent)
return
}

Expand Down

0 comments on commit c1d384e

Please sign in to comment.