https://supabase.com/ logo
m

manitej

07/26/2022, 7:13 AM
here's the policy
here's the code:
Copy code
js
const { data } = await supabaseClient
    .from("profile")
    .update({
      stripe_id: customer.id,
    })
    .eq("id", id);
isn't this statement should be
public.profile
with no quotes
all policies are breaking
j

jaitaiwan

07/26/2022, 9:59 AM
So those couple policies look fine. The stripe customer hook, where is that being called?
g

garyaustin

07/26/2022, 12:39 PM
I’m dropping this issue with the stripe tutorial here https://github.com/supabase/supabase/discussions/7838 but not sure his solution is to your problem.
Also please ask help question in one of the help sections next time, Thanks!