Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bertini36 committed Mar 2, 2021
1 parent e8c484a commit 04c1a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion billing/actions/invoices.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def pay_with_account_credit_cards(
#
valid_credit_cards = CreditCard.objects.valid().filter(account=invoice.account)
if exclude_reka_ccs:
valid_credit_cards = valid_credit_cards.exclude(payment_method='REK')
valid_credit_cards = valid_credit_cards.exclude(type='REK')
valid_credit_cards = valid_credit_cards.order_by('status')
if not valid_credit_cards:
raise PreconditionError('No valid credit card on account.')
Expand Down

0 comments on commit 04c1a7d

Please sign in to comment.