mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-14 05:04:49 +00:00
http: actually pass the options list to the Connection factory
This commit is contained in:
parent
50ba4ba2c9
commit
773f532b14
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ defmodule Pleroma.HTTP do
|
||||||
|> Builder.add_param(:body, :body, body)
|
|> Builder.add_param(:body, :body, body)
|
||||||
|> Builder.add_param(:query, :query, params)
|
|> Builder.add_param(:query, :query, params)
|
||||||
|> Enum.into([])
|
|> Enum.into([])
|
||||||
|> (&Tesla.request(Connection.new(), &1)).()
|
|> (&Tesla.request(Connection.new(options), &1)).()
|
||||||
rescue
|
rescue
|
||||||
e ->
|
e ->
|
||||||
{:error, e}
|
{:error, e}
|
||||||
|
|
Loading…
Reference in a new issue