mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 23:26:10 +02:00
💄 Fix naming inconsistencies on uri prop.
This commit is contained in:
parent
19cd84597d
commit
5983155680
10 changed files with 45 additions and 41 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue