Improve page options handling.

This commit is contained in:
Andrey Antukh 2020-01-09 13:41:52 +01:00
parent 9c68877328
commit c8298c72ea
8 changed files with 269 additions and 283 deletions

View file

@ -120,9 +120,9 @@
;; --- Helpers
(defn decode-row
[{:keys [data metadata operations] :as row}]
[{:keys [data metadata changes] :as row}]
(when row
(cond-> row
data (assoc :data (blob/decode data))
metadata (assoc :metadata (blob/decode metadata))
operations (assoc :operations (blob/decode operations)))))
changes (assoc :changes (blob/decode changes)))))