diff --git a/packages/web/src/actions.ts b/packages/web/src/actions.ts index 9f764e8d..6c8fb199 100644 --- a/packages/web/src/actions.ts +++ b/packages/web/src/actions.ts @@ -1246,7 +1246,7 @@ const _fetchSubscriptionForOrg = async (orgId: number, prisma: Prisma.Transactio } if (!org.stripeCustomerId) { - return null; + return notFound(); } const stripe = getStripe();