mirror of https://github.com/penpot/penpot.git
🐛 Fix incorrect options pass on decode-file
This commit is contained in:
parent
946f641917
commit
0b346e02ff
|
|
@ -188,9 +188,9 @@
|
|||
and decoding."
|
||||
[cfg file-id & {:as opts}]
|
||||
(db/run! cfg (fn [{:keys [::db/conn] :as cfg}]
|
||||
(some->> (db/get* conn :file {:id file-id}
|
||||
(assoc opts ::db/remove-deleted false))
|
||||
(decode-file cfg)))))
|
||||
(when-let [row (db/get* conn :file {:id file-id}
|
||||
(assoc opts ::db/remove-deleted false))]
|
||||
(decode-file cfg row opts)))))
|
||||
|
||||
(defn clean-file-features
|
||||
[file]
|
||||
|
|
|
|||
Loading…
Reference in New Issue