mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
fix(server): avoid error when other prices added but logic is not released (#6191)
This commit is contained in:
@@ -65,7 +65,9 @@ export class SubscriptionService {
|
||||
) {}
|
||||
|
||||
async listPrices() {
|
||||
return this.stripe.prices.list();
|
||||
return this.stripe.prices.list({
|
||||
active: true,
|
||||
});
|
||||
}
|
||||
|
||||
async createCheckoutSession({
|
||||
|
||||
Reference in New Issue
Block a user