0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-18 10:41:29 -05:00

Minor improvement on http client.

This commit is contained in:
Andrey Antukh 2020-06-25 09:41:58 +02:00
parent 85c8d544ed
commit 0f99b1ab90

View file

@ -20,5 +20,7 @@
(http/get url nil opts')))
(defn send!
[req]
(http/send req {:client @default-client :as :string}))
([req]
(http/send req {:client @default-client :as :string}))
([req opts]
(http/send req (merge {:client @default-client :as :string} opts))))