supabase client expose error
Hi all, new to supabase, being working with the supabase client and when making an update to a table record which has a RLS policy that only let's owners update their records the record is not updated as expected but i get no error. The response is
I was expecting to get an error indicating that i cannot update the record. Is this the expected behaviour?
Here is the relevant code:
table and RLS
And the client code:
{ error: null, data: [], count: null, status: 200, statusText: 'OK' }I was expecting to get an error indicating that i cannot update the record. Is this the expected behaviour?
Here is the relevant code:
table and RLS
And the client code: