Empty array as response

Hey i wanna fetch events from my tables, but i only get an empty array.

My project uses Nuxt3, Supabase (@nuxtjs/supabase)

Auth works perfectly but fetching data does not

code to fetch data
const user = useSupabaseUser();
const client = useSupabaseClient();

let { data: events, error } = await client
  .from('events')
  .select('id', 'title', 'description', 'created_by')

console.log(events)
image.png
Was this page helpful?