mirror of
https://gitlab.com/wheres-the-tp/server.git
synced 2026-01-25 06:04:56 -06:00
fix null coordinates in response
This commit is contained in:
parent
7af08e122b
commit
34f019dd01
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@
|
||||||
(->
|
(->
|
||||||
(:location item)
|
(:location item)
|
||||||
json/read-str
|
json/read-str
|
||||||
(:coordinates)))
|
(get "coordinates")))
|
||||||
|
|
||||||
(defn build-latlng [item]
|
(defn build-latlng [item]
|
||||||
(let [[longitude latitude] (get-coords item)]
|
(let [[longitude latitude] (get-coords item)]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue