mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 07:11:38 +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
|
@ -604,8 +604,7 @@
|
|||
:response-type :blob
|
||||
:method :get})
|
||||
(rx/map :body)
|
||||
(rx/mapcat #(rp/command! :import-binfile {:input %
|
||||
:form-data? true}))
|
||||
(rx/mapcat #(rp/command! :import-binfile {:file %}))
|
||||
(rx/map
|
||||
(fn [_]
|
||||
{:status :import-finish
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue