diff options
author | William Pitcock <nenolod@dereferenced.org> | 2019-03-07 23:32:58 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2019-03-08 22:56:16 +0000 |
commit | 773f532b148eb0c9ca1e73c3b4ebaf6aa8337da9 (patch) | |
tree | 47497f8f36c7042fea7ea35a9858f5af1ec07c03 /lib | |
parent | 50ba4ba2c9ebe522f5981d19e51f7ae41a02e7d8 (diff) | |
download | pleroma-773f532b148eb0c9ca1e73c3b4ebaf6aa8337da9.tar.gz |
http: actually pass the options list to the Connection factory
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/http/http.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/http/http.ex b/lib/pleroma/http/http.ex index c6d86b3d3..c5f720bc9 100644 --- a/lib/pleroma/http/http.ex +++ b/lib/pleroma/http/http.ex @@ -42,7 +42,7 @@ defmodule Pleroma.HTTP do |> Builder.add_param(:body, :body, body) |> Builder.add_param(:query, :query, params) |> Enum.into([]) - |> (&Tesla.request(Connection.new(), &1)).() + |> (&Tesla.request(Connection.new(options), &1)).() rescue e -> {:error, e} |