mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
fix: generic table name
This commit is contained in:
1 parent
c3ea9100be
commit
d88e1183e7
1 file changed
+1
-1
@@ -12,7 +12,7 @@ async function handleRequest(request) {
|
||||
fetch: fetch.bind(globalThis), // Tell Supabase Client to use Cloudflare Workers' global `fetch` API to make requests
|
||||
}
|
||||
)
|
||||
const { data, error } = await db.from('links').select('*')
|
||||
const { data, error } = await db.from('YOUR_TABLE_NAME').select('*')
|
||||
|
||||
if (error) {
|
||||
console.log(error)
|
||||
|
||||
Reference in new issue
Block a user