Skip to content

Commit

Permalink
Merge pull request #49 from timbuckley/bulk/fix-login-to-accept-endpoint
Browse files Browse the repository at this point in the history
Bugfix: Get endpoint from struct, not conf
  • Loading branch information
mmrobins authored Oct 17, 2019
2 parents e15564a + f7e999b commit fdf85f0
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 fdf85f0

Please sign in to comment.