feat: add platform plan pricing (#1505)

Add platform plan to the billing page.
This commit is contained in:
David Nguyen
2024-12-04 15:42:03 +09:00
committed by GitHub
parent a687064a42
commit f4b1e5104e
2 changed files with 5 additions and 4 deletions

View File

@ -41,7 +41,7 @@ export default async function BillingSettingsPage() {
const [subscriptions, prices, primaryAccountPlanPrices] = await Promise.all([
getSubscriptionsByUserId({ userId: user.id }),
getPricesByInterval({ plan: STRIPE_PLAN_TYPE.REGULAR }),
getPricesByInterval({ plans: [STRIPE_PLAN_TYPE.REGULAR, STRIPE_PLAN_TYPE.PLATFORM] }),
getPrimaryAccountPlanPrices(),
]);