Skip to content

Commit e995213

Browse files
committed
Fixed crash in fundraising checkout view
The crash was introduced by a41119e
1 parent 348ce68 commit e995213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fundraising/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def checkout_session_completed(self):
298298
customer = stripe.Customer.retrieve(
299299
session.customer, stripe_version="2020-08-27"
300300
)
301-
hero, _ = DjangoHero.objects.get_or_create(
301+
hero, _created = DjangoHero.objects.get_or_create(
302302
stripe_customer_id=customer.id,
303303
defaults={
304304
"email": customer.email,

0 commit comments

Comments
 (0)