Skip to content

Commit

Permalink
Fix guard denying empty fields for event/customers
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsta committed Nov 16, 2012
1 parent 4618c4b commit 0411240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stripe.erl
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ env(What, Default) ->
end.

-spec gen_args(proplist()) -> string().
gen_args(Fields) when is_list(Fields) andalso is_tuple(hd(Fields)) ->
gen_args(Fields) when is_list(Fields) ->
mochiweb_util:urlencode(Fields).

gen_url(Action) when is_atom(Action) ->
Expand Down

0 comments on commit 0411240

Please sign in to comment.