diff --git a/api/endpoints.go b/api/endpoints.go index a459fc6..016ebcd 100644 --- a/api/endpoints.go +++ b/api/endpoints.go @@ -624,7 +624,7 @@ func handleRetrieveEggs(w http.ResponseWriter, r *http.Request) { } jsonResponse(w, r, eggs) - w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) } func handleUpdateEggs(w http.ResponseWriter, r *http.Request) {