SaltyPotato
10/05/2021, 6:09 AMjs
let { data, error, status } = await supabase
.from('venues')
.select(`name`)
.eq('userid', user!.id)
.single();
Apologies if this is blatantly obvious but I couldn’t seem to find the answer anywhere on the internet so I thought you all might be able to helpjason-lynx
10/05/2021, 6:55 AMuser!.id
definitely non-null? and if it is, does the user id definitely exist in the table?AnishDe12020
10/05/2021, 7:30 AMsupabase.auth.user()
and then match that