Fix mispelled handler name.

Co-authored-by: Hector Hurtado <hector.hurtado@bbva.com>
This commit is contained in:
Roberto Abdelkader Martínez Pérez
2019-10-18 13:15:08 +02:00
parent bf791a36c6
commit 03e138396d
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ func getRequestFileContent(w http.ResponseWriter, r *http.Request, h *model.Hand
// FIXME: Allow any HTTP status code. Now we are limited by WriteHeader
// capabilities
func getResponseStatus(w http.ResponseWriter, r *http.Request, h *model.Handler) {
func setResponseStatus(w http.ResponseWriter, r *http.Request, h *model.Handler) {
sb, err := ioutil.ReadAll(r.Body)
if err != nil {
w.WriteHeader(http.StatusInternalServerError)