⬆️ Move svg parsing to the frontend with Tubax

This commit is contained in:
alonso.torres 2021-05-20 10:56:58 +02:00
parent f57fb5006d
commit 7ff608ff0b
7 changed files with 25 additions and 13 deletions

View file

@ -110,14 +110,6 @@
:response-type :blob})
(rx/mapcat handle-response)))
(defmethod query :parsed-svg
[id params]
(->> (http/send! {:method :post
:uri (u/join base-uri "api/rpc/query/" (name id))
:body (http/transit-data params)})
(rx/map http/conditional-decode-transit)
(rx/mapcat handle-response)))
(derive :upload-file-media-object ::multipart-upload)
(derive :update-profile-photo ::multipart-upload)
(derive :update-team-photo ::multipart-upload)