mirror of
https://github.com/penpot/penpot.git
synced 2026-02-13 07:02:58 +00:00
🐛 Remove duplicate decoding on srepl helper get-file
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user