fixed bad copy paste (200 ok should be sent on success)

This commit is contained in:
gamray 2024-05-13 00:21:00 +02:00
parent 4567108da8
commit cf1b33e170

View File

@ -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) {