From 8fcdb1be890126fa25a5dfd5195150abf5f38f5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cam=20Sau=CC=88l?= <cammsaul@gmail.com> Date: Tue, 7 Jul 2015 05:40:47 -0700 Subject: [PATCH] fix bad docstr --- src/metabase/middleware/auth.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metabase/middleware/auth.clj b/src/metabase/middleware/auth.clj index 441ec9a16b5..3e99d6eb9cb 100644 --- a/src/metabase/middleware/auth.clj +++ b/src/metabase/middleware/auth.clj @@ -77,7 +77,7 @@ (defn wrap-api-key "Middleware that sets the :metabase-api-key keyword on the request if a valid API Key can be found. - We check the request headers for `X-METABASE-API-KEY` and if it's not found then then no keyword is bound to the request." + We check the request headers for `X-METABASE-APIKEY` and if it's not found then then no keyword is bound to the request." [handler] (fn [{:keys [headers] :as request}] (if-let [api-key (headers metabase-api-key-header)] -- GitLab