Back off the radius-nm check. Somehow it gets set to 0 when not in config.
This commit is contained in:
parent
d5c325493e
commit
4b035bd50a
@ -110,7 +110,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