Fix typo
This commit is contained in:
parent
f31838dbe5
commit
10c167e76b
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ class Command(BaseCommand):
|
||||||
c_user = CustomUser.objects.get(
|
c_user = CustomUser.objects.get(
|
||||||
id=StripeCustomer.objects.filter(stripe_id=stripe_customer_id)[0].id)
|
id=StripeCustomer.objects.filter(stripe_id=stripe_customer_id)[0].id)
|
||||||
customer_name = c_user.name.encode('utf-8')
|
customer_name = c_user.name.encode('utf-8')
|
||||||
customer_email = c.user_email
|
customer_email = c_user.user_email
|
||||||
items = subscription.get("items", {}).get("data", [])
|
items = subscription.get("items", {}).get("data", [])
|
||||||
for item in items:
|
for item in items:
|
||||||
subscription_name = item.get("plan", {}).get("id", "")
|
subscription_name = item.get("plan", {}).get("id", "")
|
||||||
|
|
Loading…
Reference in a new issue