Skip to content

Commit

Permalink
fix worker ci
Browse files Browse the repository at this point in the history
  • Loading branch information
anamarn committed Nov 22, 2024
1 parent 28782de commit 9ca0f5f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ export class StripeService {
private readonly stripe: Stripe;

constructor(private readonly environmentService: EnvironmentService) {
if (!this.environmentService.get('IS_BILLING_ENABLED')) {
return;
}

this.stripe = new Stripe(
this.environmentService.get('BILLING_STRIPE_API_KEY') ?? '',
this.environmentService.get('BILLING_STRIPE_API_KEY'),
{},
);
}
Expand Down

0 comments on commit 9ca0f5f

Please sign in to comment.