diff --git a/packages/billing/stripe-webhook-handlers/stripe.ts b/packages/billing/stripe-webhook-handlers/stripe.ts index 47aa51240e..4dc56a5b9d 100644 --- a/packages/billing/stripe-webhook-handlers/stripe.ts +++ b/packages/billing/stripe-webhook-handlers/stripe.ts @@ -1,7 +1,6 @@ import Stripe from 'stripe'; let stripe: Stripe; -// Need to export this function so the stripe instance can be mocked in test export function getStripe() { if (!process.env.STRIPE_WEBHOOK_SECRET) { throw new Error('STRIPE_WEBHOOK_SECRET is not set');