0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-09 21:41:23 -05:00

🐛 Remove duplicate decoding on srepl helper get-file

This commit is contained in:
Andrey Antukh 2025-02-11 14:44:37 +01:00
parent 895450c9d5
commit 35f44a6eb4

View file

@ -39,10 +39,7 @@
([id]
(get-file (or *system* main/system) id))
([system id]
(db/run! system
(fn [system]
(->> (bfc/get-file system id ::db/for-update true)
(bfc/decode-file system))))))
(db/run! system bfc/get-file id)))
(defn get-raw-file
"Get the migrated data of one file."