From 8a343d0324501c7fea8ee26bdea767958fe7a5a7 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sat, 30 Apr 2022 21:28:24 -0700 Subject: [PATCH] Remove extranious response --- controllers/controllers.go | 1 - 1 file changed, 1 deletion(-) diff --git a/controllers/controllers.go b/controllers/controllers.go index dc40505ba..3a94152bc 100644 --- a/controllers/controllers.go +++ b/controllers/controllers.go @@ -16,7 +16,6 @@ func InternalErrorHandler(w http.ResponseWriter, err error) { return } - w.WriteHeader(http.StatusInternalServerError) if err := json.NewEncoder(w).Encode(j{"error": err.Error()}); err != nil { InternalErrorHandler(w, err) }