Allow null user profile picture from Google OAuth in DB

- Fix width of generated profile picture generated for user
- Ignore unused Stripe webhook events
This commit is contained in:
Debanjum Singh Solanky
2023-11-09 00:15:08 -08:00
parent 1d3bdf8fdb
commit 605058c72a
4 changed files with 24 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ class GoogleUser(models.Model):
name = models.CharField(max_length=200)
given_name = models.CharField(max_length=200)
family_name = models.CharField(max_length=200)
picture = models.CharField(max_length=200)
picture = models.CharField(max_length=200, null=True, default=None)
locale = models.CharField(max_length=200)
def __str__(self):