💄 Cosmetic refactor of binfile internal API impl

This commit is contained in:
Andrey Antukh 2022-07-07 12:26:46 +02:00
parent 98190ed92d
commit d60f849089
4 changed files with 206 additions and 189 deletions

View file

@ -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