🐛 Fix bug about decoding :features PgArray

This commit is contained in:
Andrés Moya 2022-10-21 16:45:53 +02:00 committed by Andrés Moya
parent 2ee15c3147
commit b191df0351
2 changed files with 4 additions and 2 deletions

View file

@ -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