discoveries order

Former-commit-id: 74249dc717
This commit is contained in:
Roman Volosovskyi 2016-05-13 15:52:02 +03:00
parent f9cee873d1
commit 3fc884db25
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 []