diff --git a/packages/googlecloud/functions/getanswer/main.py b/packages/googlecloud/functions/getanswer/main.py index af8941bf..a735f1e0 100644 --- a/packages/googlecloud/functions/getanswer/main.py +++ b/packages/googlecloud/functions/getanswer/main.py @@ -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}")