fix(server): avoid error when other prices added but logic is not released (#6191)

This commit is contained in:
Brooooooklyn
2024-03-22 08:39:11 +00:00
parent 75355867c7
commit aecc523663
6 changed files with 48 additions and 75 deletions

View File

@@ -65,7 +65,9 @@ export class SubscriptionService {
) {}
async listPrices() {
return this.stripe.prices.list();
return this.stripe.prices.list({
active: true,
});
}
async createCheckoutSession({