Fix typo getRequestId -> getRouteId

This commit is contained in:
Héctor Hurtado
2020-09-10 12:44:58 +02:00
parent 9a78bddcc4
commit 6d24cc4d2d
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ func getRequestFileContent(w http.ResponseWriter, r *http.Request, h *model.Hand
}
}
func getRequestId(w http.ResponseWriter, r *http.Request, h *model.Handler) {
func getRouteId(w http.ResponseWriter, r *http.Request, h *model.Handler) {
w.Header().Add("Content-Type", "application/octet-stream")
_, _ = w.Write([]byte(h.Route.ID))