From: William Pitcock Date: Thu, 7 Mar 2019 23:32:58 +0000 (+0000) Subject: http: actually pass the options list to the Connection factory X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=773f532b148eb0c9ca1e73c3b4ebaf6aa8337da9;p=akkoma http: actually pass the options list to the Connection factory --- 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}