discoveries order

This commit is contained in:
Roman Volosovskyi 2016-05-13 15:52:02 +03:00
parent 748abd40e4
commit 74249dc717
1 changed files with 1 additions and 2 deletions

View File

@ -69,8 +69,7 @@
(->> (-> (r/get-all :discoveries)
(r/sorted :last-updated :desc)
r/collection->map)
(map #(update % :tags vals))
(into '())))
(map #(update % :tags vals))))
(defn- add-discoveries [discoveries]
(realm/write (fn []