Skip to content

Commit

Permalink
Bugfix: Get endpoint from struct, not conf
Browse files Browse the repository at this point in the history
  • Loading branch information
timbuckley committed Oct 15, 2019
1 parent e15564a commit f7e999b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/forcex/bulk/client.ex
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ defmodule Forcex.Bulk.Client do
{"Content-Type", "text/xml; charset=UTF-8"},
{"SOAPAction", "login"},
]
HTTPoison.post!("#{conf.endpoint}/services/Soap/u/#{starting_struct.api_version}", envelope, headers)
HTTPoison.post!("#{starting_struct.endpoint}/services/Soap/u/#{starting_struct.api_version}", envelope, headers)
|> parse_login_response
end

Expand Down

0 comments on commit f7e999b

Please sign in to comment.