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:
parent
895450c9d5
commit
35f44a6eb4
1 changed files with 1 additions and 4 deletions
|
@ -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."
|
||||
|
|
Loading…
Add table
Reference in a new issue