pass options without adapter key
This commit is contained in:
parent
c8c17d9c63
commit
e8bfb50fa3
|
@ -28,7 +28,7 @@ def request(method, url, headers, body, opts \\ []) do
|
|||
url,
|
||||
body,
|
||||
headers,
|
||||
Keyword.put(opts, :adapter, opts)
|
||||
opts
|
||||
) do
|
||||
if is_map(response.body) and method != :head do
|
||||
{:ok, response.status, response.headers, response.body}
|
||||
|
|
Loading…
Reference in New Issue