The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: fixing todo app update statement to new supabase interface
Ant Wilson72186715c8e6
diff --git a/examples/react-todo-list/src/Store.js b/examples/react-todo-list/src/Store.jsindex 9ab0c0ed44d..890856a9c3a 100644--- a/examples/react-todo-list/src/Store.js+++ b/examples/react-todo-list/src/Store.js@@ -73,7 +73,7 @@ export const addTask = async (task_text, list_id) => {export const updateTask = async (task_id, values) => {try {- let { data, error } = await supabase.from('tasks').eq('id', task_id).update(values)+ let { data, error } = await supabase.from('tasks').update(values).eq('id', task_id)if (error) {throw new Error(error)}