Skip to content

Commit

Permalink
edited supabase col name
Browse files Browse the repository at this point in the history
  • Loading branch information
ayyubibrahimi committed Nov 14, 2023
1 parent 5dd078e commit fa3f313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/googlecloud/functions/getanswer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

def update_supabase(response):
# Assume you have a table named 'answers' with a column named 'answer'
response = supabase.table('cards').insert({'response': response}).execute()
response = supabase.table('cards').insert({'responses': response}).execute()
if response.error:
logging.error(f"Failed to update Supabase: {response.error}")

Expand Down

0 comments on commit fa3f313

Please sign in to comment.