diff --git a/supabase/functions/get_stripe_url/index.ts b/supabase/functions/get_stripe_url/index.ts index d44cfad..caaf77d 100644 --- a/supabase/functions/get_stripe_url/index.ts +++ b/supabase/functions/get_stripe_url/index.ts @@ -5,7 +5,7 @@ import { posthog } from "../_shared/posthog.ts"; clientRequestHandlerWithUser(async (req, user) => { const { price: priceId, return_url } = await req.json(); - const stripeCustomerId = createOrRetrieveCustomer({ + const stripeCustomerId = await createOrRetrieveCustomer({ uuid: user.id, email: user.email || "", });