Skip to content

Commit

Permalink
♻️(backend) update the payment debug view with credit card
Browse files Browse the repository at this point in the history
Update the line of code where we create the credit card
in the debug view of a payment.
  • Loading branch information
jonathanreveille committed Jan 10, 2025
1 parent 5bbac9e commit 4f502f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/joanie/debug/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ def get_context_data(self, **kwargs):
course=order.course,
is_graded=True,
)
credit_card = CreditCardFactory(owner=owner)
credit_card = CreditCardFactory(owners=[owner])
order.init_flow(billing_address=BillingAddressDictFactory())
billing_address = order.main_invoice.recipient_address
one_click = "one-click" in self.request.GET
Expand Down

0 comments on commit 4f502f6

Please sign in to comment.