Spaces:
Sleeping
Sleeping
Update dependencies/database.py
Browse files- dependencies/database.py +1 -2
dependencies/database.py
CHANGED
@@ -80,8 +80,7 @@ class SupabaseDb:
|
|
80 |
supabase = self.supabase_client()
|
81 |
response = (
|
82 |
supabase.table("user_gmail_token_details")
|
83 |
-
.
|
84 |
-
.eq('email',email)
|
85 |
.execute()
|
86 |
)
|
87 |
print("Inserting the access and refresh tokens")
|
|
|
80 |
supabase = self.supabase_client()
|
81 |
response = (
|
82 |
supabase.table("user_gmail_token_details")
|
83 |
+
.insert({"access_token": access_token,"refresh_token":refresh_token,"email":email})
|
|
|
84 |
.execute()
|
85 |
)
|
86 |
print("Inserting the access and refresh tokens")
|