From c1d384e174c21d6e59fdbd8e8d2a0d3a86864cdf Mon Sep 17 00:00:00 2001 From: Alex Goodisman Date: Fri, 3 May 2024 16:00:31 -0400 Subject: [PATCH] 404 -> 204 --- lib/denylist/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/denylist/http.go b/lib/denylist/http.go index 505a8107..3be619dc 100644 --- a/lib/denylist/http.go +++ b/lib/denylist/http.go @@ -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 }