Skip to content

Commit

Permalink
Fixed crash in fundraising checkout view
Browse files Browse the repository at this point in the history
The crash was introduced by a41119e
  • Loading branch information
bmispelon committed Nov 5, 2024
1 parent 348ce68 commit e995213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fundraising/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def checkout_session_completed(self):
customer = stripe.Customer.retrieve(
session.customer, stripe_version="2020-08-27"
)
hero, _ = DjangoHero.objects.get_or_create(
hero, _created = DjangoHero.objects.get_or_create(
stripe_customer_id=customer.id,
defaults={
"email": customer.email,
Expand Down

0 comments on commit e995213

Please sign in to comment.