Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
parent
0b4a825917
commit
e0b021fe5b
@ -116,6 +116,7 @@
|
|||||||
"dist" (.toFixed radius-nm (if rapid-api? 0 1))]
|
"dist" (.toFixed radius-nm (if rapid-api? 0 1))]
|
||||||
(map str)
|
(map str)
|
||||||
(string/join "/"))
|
(string/join "/"))
|
||||||
|
;; RapidAPI expects a trailing slash.
|
||||||
(if rapid-api? "/" ""))
|
(if rapid-api? "/" ""))
|
||||||
headers (cond-> (if rapid-api?
|
headers (cond-> (if rapid-api?
|
||||||
{:x-rapidapi-key api-key :x-rapidapi-host (:host (c-url/url url)) :useQueryString true}
|
{:x-rapidapi-key api-key :x-rapidapi-host (:host (c-url/url url)) :useQueryString true}
|
||||||
|
Loading…
Reference in New Issue
Block a user