Skip to content

Commit

Permalink
Merge pull request #147 from eye-on-surveillance/AI/misc-bugs
Browse files Browse the repository at this point in the history
AI/misc-bugs
  • Loading branch information
ayyubibrahimi authored Nov 14, 2023
2 parents 87c86f0 + fa3f313 commit 5948a21
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 5948a21

Please sign in to comment.