fix: generic table name

This commit is contained in:
Siddhant committed 2022-02-21 16:45:55 +01:00
1 parent c3ea9100be
commit d88e1183e7
1 file changed
+1 -1
+1 -1
View File
@@ -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)