mirror of
https://github.com/penpot/penpot.git
synced 2025-05-16 19:16:11 +02:00
💄 Add cosmetic improvemnts on http client validation
This commit is contained in:
parent
e9c3b0567b
commit
f4d4559cd4
1 changed files with 4 additions and 4 deletions
|
@ -43,9 +43,9 @@
|
||||||
(defn req!
|
(defn req!
|
||||||
"A convencience toplevel function for gradual migration to a new API
|
"A convencience toplevel function for gradual migration to a new API
|
||||||
convention."
|
convention."
|
||||||
([{:keys [::client] :as holder} request]
|
([{:keys [::client]} request]
|
||||||
(us/assert! ::client-holder holder)
|
(us/assert! ::client client)
|
||||||
(send! client request {}))
|
(send! client request {}))
|
||||||
([{:keys [::client] :as holder} request options]
|
([{:keys [::client]} request options]
|
||||||
(us/assert! ::client-holder holder)
|
(us/assert! ::client client)
|
||||||
(send! client request options)))
|
(send! client request options)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue