From e0b021fe5b3852ba2e315966cd14c276600f2b86 Mon Sep 17 00:00:00 2001 From: Michael Crenshaw Date: Tue, 15 Sep 2020 18:43:34 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- src/main/lemondronor/advisorycircular.cljs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/lemondronor/advisorycircular.cljs b/src/main/lemondronor/advisorycircular.cljs index aec3925..fc89367 100644 --- a/src/main/lemondronor/advisorycircular.cljs +++ b/src/main/lemondronor/advisorycircular.cljs @@ -116,6 +116,7 @@ "dist" (.toFixed radius-nm (if rapid-api? 0 1))] (map str) (string/join "/")) + ;; RapidAPI expects a trailing slash. (if rapid-api? "/" "")) headers (cond-> (if rapid-api? {:x-rapidapi-key api-key :x-rapidapi-host (:host (c-url/url url)) :useQueryString true}