Query supabase in next server api
Hello, im quite a newbe for both Supabase, Refine and Next.js
I have this simple file called
the file looks like:
and im getting the following error:
i can query the database using supabase.from(.... but i want to query the database with the user permissions (because im using postgres RLS).
what should i do next?
thanks.
I have this simple file called
api/messages.tsthe file looks like:
and im getting the following error:
@auth/context/supabase/libi can query the database using supabase.from(.... but i want to query the database with the user permissions (because im using postgres RLS).
what should i do next?
thanks.
