💄 Fix naming inconsistencies on uri prop.

This commit is contained in:
Andrey Antukh 2020-05-26 12:47:09 +02:00
parent 19cd84597d
commit 5983155680
10 changed files with 45 additions and 41 deletions

View file

@ -32,13 +32,13 @@
{"content-type" "application/transit+json"})
(defn- impl-send
[{:keys [body headers auth method query url response-type]
[{:keys [body headers auth method query uri response-type]
:or {auth true response-type :text}}]
(let [headers (merge {"Accept" "application/transit+json,*/*"}
(when (map? body) default-headers)
headers)
request {:method method
:url url
:uri uri
:headers headers
:query query
:body (if (map? body)