nbcvhc
This commit is contained in:
@@ -985,6 +985,16 @@ export async function cancelSubscription(subscriptionId: number): Promise<{ mess
|
||||
});
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
// PUBLIC PLANS (for marketing/pricing page)
|
||||
// ============================================================================
|
||||
|
||||
export async function getPublicPlans(): Promise<Plan[]> {
|
||||
// Use the existing auth/plans endpoint which already filters for public plans
|
||||
const response = await fetchAPI('/v1/auth/plans/');
|
||||
return response.results || response;
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
// USAGE SUMMARY (PLAN LIMITS)
|
||||
// ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user