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

pull/13/head
gamray 2024-05-13 00:21:00 +02:00
parent 4567108da8
commit cf1b33e170
1 changed files with 1 additions and 1 deletions

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