Using transaction instead of normal handle to do multiple queries

pull/13/head
gamray 2024-05-13 00:35:17 +02:00
parent 81592af770
commit 733e01ec16
1 changed files with 1 additions and 1 deletions

View File

@ -623,8 +623,8 @@ func handleRetrieveEggs(w http.ResponseWriter, r *http.Request) {
return
}
jsonResponse(w, r, eggs)
w.WriteHeader(http.StatusOK)
jsonResponse(w, r, eggs)
}
func handleUpdateEggs(w http.ResponseWriter, r *http.Request) {