Merge branch 'master' of https://gitlab.com/jjwiseman/advisory-circular
This commit is contained in:
commit
214e025af7
@ -111,7 +111,7 @@
|
||||
|
||||
|
||||
(defn adsbx-url [{:keys [url lat lon radius-nm rapid-api?]}]
|
||||
(if (or lat lon radius-nm)
|
||||
(if (or lat lon)
|
||||
(do
|
||||
(when-not (and lat lon radius-nm)
|
||||
(throw (js/Error. "Need all of :lat, :lon, and :radius-nm")))
|
||||
|
Loading…
Reference in New Issue
Block a user