Skip to content

Commit

Permalink
Fix CSV parsing issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
WWJacob committed Apr 5, 2012
1 parent cc0887c commit 6a9527a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/salesforce_bulk/job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ def get_batch_result()

end

response = response.lines.to_a[1..-1].join
csvRows = CSV.parse(response)
response = response.lines.to_a.join
csvRows = CSV.parse(response)[1..-1]
end

end
Expand Down

0 comments on commit 6a9527a

Please sign in to comment.