mirror of
https://github.com/penpot/penpot.git
synced 2026-09-15 00:19:01 +00:00
✨ Minor improvement on http client.
This commit is contained in:
parent
85c8d544ed
commit
0f99b1ab90
@ -20,5 +20,7 @@
|
|||||||
(http/get url nil opts')))
|
(http/get url nil opts')))
|
||||||
|
|
||||||
(defn send!
|
(defn send!
|
||||||
[req]
|
([req]
|
||||||
(http/send req {:client @default-client :as :string}))
|
(http/send req {:client @default-client :as :string}))
|
||||||
|
([req opts]
|
||||||
|
(http/send req (merge {:client @default-client :as :string} opts))))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user