Skip to content

Commit

Permalink
Fix HTTPoison bug with Erlang 19
Browse files Browse the repository at this point in the history
  • Loading branch information
renatomassaro committed May 16, 2017
1 parent f92cd4a commit 14b9abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/heborn_migration/exporter/client.ex
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ defmodule HEBornMigration.Exporter.Client do
email: account.email
})

{:ok, _} = HTTPoison.post(config[:url], body, headers)
{:ok, _} = HTTPoison.post(config[:url], body, headers, [ssl: [{:versions, [:'tlsv1.2']}]])

Logger.info("Successfully exported user \"#{account.username}\"")
end
Expand Down

0 comments on commit 14b9abc

Please sign in to comment.