query returns empty array
(not fluent in english)
im trying to rebuild my svelte project using nextjs and i was using supabase for my backend before so i thought, why not do the same? i used
i experimented with the auth first so i signed up and signed in.
but when i tried this:
it just returns an empty array. i figured it has something to do with policies so i went and check my policy on this table:
i also logged my user:
what am i missing?
im trying to rebuild my svelte project using nextjs and i was using supabase for my backend before so i thought, why not do the same? i used
npx create-next-app -e with-supabase and started tested things out. for context, i used RLS to all my tables.i experimented with the auth first so i signed up and signed in.
but when i tried this:
it just returns an empty array. i figured it has something to do with policies so i went and check my policy on this table:
i also logged my user:
what am i missing?
