From 1e0d9e184cd6259edca268ba0a349f280a6cb95d Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Sun, 31 Jan 2021 23:29:48 -0500 Subject: [PATCH] Fix typo --- controller/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/controller.go b/controller/controller.go index 726a85b8..bc6fb8f0 100644 --- a/controller/controller.go +++ b/controller/controller.go @@ -69,7 +69,7 @@ func CreateRouter(cfg *config.Config) *mux.Router { func secureIfNecessary(cfg *config.Config, handler http.HandlerFunc) http.HandlerFunc { if cfg.Security != nil && cfg.Security.IsValid() { - return security.Handler(serviceStatusesHandler, cfg.Security) + return security.Handler(handler, cfg.Security) } return handler }