Skip to content

Commit

Permalink
trying to fix customer encoding issue
Browse files Browse the repository at this point in the history
  • Loading branch information
slogsdon committed Sep 18, 2014
1 parent 5f53918 commit 1ea7340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stripe/customers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ defmodule Stripe.Customers do
def create(params) do
obj = Stripe.make_request :post, @endpoint, params
if obj[:object] do
Enum.map obj, &Stripe.Customer.from_keyword(&1)
Stripe.Customer.from_keyword(obj[:object])
else
[]
end
Expand Down

0 comments on commit 1ea7340

Please sign in to comment.