From 7c2c3a1216ce1a8f57d3284968b4fa68d1b4f796 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Thu, 18 May 2017 13:37:16 +0100 Subject: [PATCH] Fix typo --- src/github.com/matrix-org/dendrite/clientapi/routing/routing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/clientapi/routing/routing.go b/src/github.com/matrix-org/dendrite/clientapi/routing/routing.go index 787914a67..5ad9b2bbf 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/routing/routing.go +++ b/src/github.com/matrix-org/dendrite/clientapi/routing/routing.go @@ -148,6 +148,6 @@ func Setup(servMux *http.ServeMux, httpClient *http.Client, cfg config.ClientAPI // make a util.JSONRequestHandler function into an http.Handler. func makeAPI(metricsName string, f func(*http.Request) util.JSONResponse) http.Handler { - h := util.NewJSONRequestHander(f) + h := util.NewJSONRequestHandler(f) return prometheus.InstrumentHandler(metricsName, util.MakeJSONAPI(h)) }