From 4f8bd3b45fda38ef5391ddb6a37424f02259ffa5 Mon Sep 17 00:00:00 2001 From: "app@dynamicweb-production" Date: Thu, 20 Jun 2024 13:58:19 +0200 Subject: [PATCH] Fix stripe_chgs object; make it consistent --- hosting/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosting/views.py b/hosting/views.py index ce59b0d9..637a112b 100644 --- a/hosting/views.py +++ b/hosting/views.py @@ -1339,7 +1339,7 @@ class InvoiceListView(LoginRequiredMixin, TemplateView): ).order_by('-created_at') stripe_chgs = [] for ho in hosting_orders: - stripe_chgs.append({ho.id: stripe.Charge.retrieve(ho.stripe_charge_id)}) + stripe_chgs.append({ho: stripe.Charge.retrieve(ho.stripe_charge_id)}) paginator_charges = Paginator(stripe_chgs, 10) try: