mirror of
https://github.com/penpot/penpot.git
synced 2025-02-13 02:28:18 -05:00
🐛 Fix bug about decoding :features PgArray
This commit is contained in:
parent
2ee15c3147
commit
b191df0351
2 changed files with 4 additions and 2 deletions
|
@ -194,7 +194,8 @@
|
|||
(proj/check-edition-permissions! conn profile-id (:project-id file))
|
||||
(db/exec-one! conn ["SET CONSTRAINTS ALL DEFERRED"])
|
||||
(-> (duplicate-file* conn params {:reset-shared-flag true})
|
||||
(update :data blob/decode))))
|
||||
(update :data blob/decode)
|
||||
(update :features db/decode-pgarray #{}))))
|
||||
|
||||
;; --- COMMAND: Duplicate Project
|
||||
|
||||
|
|
|
@ -146,7 +146,8 @@
|
|||
(when-not is-shared
|
||||
(absorb-library conn params)
|
||||
(unlink-files conn params))
|
||||
(set-file-shared conn params)))
|
||||
(-> (set-file-shared conn params)
|
||||
(update :features db/decode-pgarray #{}))))
|
||||
|
||||
(defn- unlink-files
|
||||
[conn {:keys [id] :as params}]
|
||||
|
|
Loading…
Add table
Reference in a new issue