chulkilee / ex_force

A Salesforce REST API wrapper for Elixir
https://hex.pm/packages/ex_force
MIT License
38 stars 28 forks source link

create_sobject returning error #14

Closed dustinfarris closed 7 years ago

dustinfarris commented 7 years ago

I am using

ExForce.create_sobject("Account", data, config)

and the salesforce operation seems to be successful, but the result of the function is:

{:error,
 %{"errors" => [], "id" => "0013600001WHtN8AAL", "success" => true,
   "warnings" => []}}

shouldn't this be {:ok, ...}?

/cc @epinault