Skip to content

Commit

Permalink
remove unnecessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
FadhlanR committed Nov 18, 2024
1 parent e4efaea commit f83d311
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/billing/stripe-webhook-handlers/stripe.ts
Original file line number Diff line number Diff line change
@@ -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');
Expand Down

0 comments on commit f83d311

Please sign in to comment.