Removed call to refresh_from_db as it was wrongly used
This commit is contained in:
parent
d4e7eb9511
commit
e5929b8f76
1 changed files with 0 additions and 1 deletions
|
@ -176,7 +176,6 @@ class StripeCustomer(models.Model):
|
||||||
return stripe_customer
|
return stripe_customer
|
||||||
|
|
||||||
except StripeCustomer.DoesNotExist:
|
except StripeCustomer.DoesNotExist:
|
||||||
CustomUser.refresh_from_db()
|
|
||||||
user = CustomUser.objects.get(email=email)
|
user = CustomUser.objects.get(email=email)
|
||||||
stripe_utils = StripeUtils()
|
stripe_utils = StripeUtils()
|
||||||
stripe_data = stripe_utils.create_customer(token, email)
|
stripe_data = stripe_utils.create_customer(token, email)
|
||||||
|
|
Loading…
Reference in a new issue