fix null coordinates in response

This commit is contained in:
Bart Akeley 2018-02-11 11:26:08 -06:00
parent 7af08e122b
commit 34f019dd01

View file

@ -14,7 +14,7 @@
(->
(:location item)
json/read-str
(:coordinates)))
(get "coordinates")))
(defn build-latlng [item]
(let [[longitude latitude] (get-coords item)]