Skip to content

Commit

Permalink
Fix payment method with token
Browse files Browse the repository at this point in the history
  • Loading branch information
Luciano Azevedo authored and rscouto committed Sep 7, 2017
1 parent e182d22 commit 27cf3bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iugu.net/Lib/PaymentMethod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public async Task<PaymentMethodModel> CreateAsync(string description, CreditCard
{
object paymentmethod = null;

if (data == null && string.IsNullOrEmpty(token))
if (data == null && !string.IsNullOrEmpty(token))
{
paymentmethod = new
{
Expand Down

0 comments on commit 27cf3bc

Please sign in to comment.