Skip to content

Commit 4b64d3f

Browse files
authored
Merge pull request #423 from trycompai/lewis/fix-env-vars
fix: remove warning for missing Stripe environment variables
2 parents b23bf1f + fe6f9cf commit 4b64d3f

File tree

1 file changed

+0
-4
lines changed
  • apps/app/src/actions/organization/lib

1 file changed

+0
-4
lines changed

apps/app/src/actions/organization/lib/stripe.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ if (env.STRIPE_SECRET_KEY && env.STRIPE_WEBHOOK_SECRET) {
99
stripe = new Stripe(env.STRIPE_SECRET_KEY, {
1010
apiVersion: "2025-02-24.acacia",
1111
});
12-
} else {
13-
console.warn(
14-
"Stripe environment variables (STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET) are not fully configured. Stripe functionality will be disabled.",
15-
);
1612
}
1713

1814
export { stripe };

0 commit comments

Comments
 (0)