mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 09:36:38 +02:00
✨ Minor improvement on http client.
This commit is contained in:
parent
85c8d544ed
commit
0f99b1ab90
1 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue