mirror of
https://github.com/penpot/penpot.git
synced 2025-06-02 09:21:40 +02:00
💄 Cosmetic refactor of binfile internal API impl
This commit is contained in:
parent
98190ed92d
commit
d60f849089
4 changed files with 206 additions and 189 deletions
|
@ -457,8 +457,7 @@
|
|||
(fn [file]
|
||||
(->> (rp/command! :export-binfile {:file-id (:id file)
|
||||
:include-libraries? (= export-type :all)
|
||||
:embed-assets? (= export-type :merge)
|
||||
:blob? true})
|
||||
:embed-assets? (= export-type :merge)})
|
||||
(rx/map #(hash-map :type :finish
|
||||
:file-id (:id file)
|
||||
:filename (:name file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue