0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00

Merge pull request #2594 from penpot/niwinz-compatibility-fixes

🐛 Fix compatibility issue with 1.17.x file table changes
This commit is contained in:
Alejandro 2022-11-23 14:49:16 +01:00 committed by GitHub
commit 0a72859424
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -567,8 +567,9 @@
;; --- Helpers
(defn decode-row
[{:keys [data changes] :as row}]
[{:keys [data changes features] :as row}]
(when row
(cond-> row
changes (assoc :changes (blob/decode changes))
data (assoc :data (blob/decode data)))))
features (assoc :features (db/decode-pgarray features #{}))
changes (assoc :changes (blob/decode changes))
data (assoc :data (blob/decode data)))))