FIxed altitude filtering.

(I forgot to store altitude in history, duh.)
This commit is contained in:
John Wiseman 2020-04-11 14:06:53 -07:00
parent 6246a9d3ab
commit fcbb023a5e

View File

@ -79,6 +79,7 @@
(let [icao (:icao ac) (let [icao (:icao ac)
new-history-entry {:lat (:lat ac) new-history-entry {:lat (:lat ac)
:lon (:lon ac) :lon (:lon ac)
:alt (:alt ac)
:time (:postime ac)}] :time (:postime ac)}]
(if (contains? db icao) (if (contains? db icao)
(let [old-record (db icao) (let [old-record (db icao)