Fix typo getRequestId -> getRouteId
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user