Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,7 +60,7 @@ def supbase_insert(user_message,response_content,messages,response,user_name,use
|
|
| 60 |
|
| 61 |
def supabase_insert_user(name,user_name,profile,picture,oauth_token):
|
| 62 |
supabase = get_supabase_client()
|
| 63 |
-
data
|
| 64 |
|
| 65 |
|
| 66 |
def supabase_fetch_user(user_name):
|
|
|
|
| 60 |
|
| 61 |
def supabase_insert_user(name,user_name,profile,picture,oauth_token):
|
| 62 |
supabase = get_supabase_client()
|
| 63 |
+
data, count = supabase.table('users').insert({"name":name,"user_name":user_name,"profile":profile,"picture":picture,"oauth_token":oauth_token}).execute()
|
| 64 |
|
| 65 |
|
| 66 |
def supabase_fetch_user(user_name):
|