Support subcription payments
This commit is contained in:
@@ -85,7 +85,7 @@ export class SubscriptionService {
|
||||
}
|
||||
|
||||
async getAvailablePlans(): Promise<AvailablePlans> {
|
||||
return apiClient.get<AvailablePlans>('/subscriptions/plans');
|
||||
return apiClient.get<AvailablePlans>('/plans');
|
||||
}
|
||||
|
||||
async validatePlanUpgrade(tenantId: string, planKey: string): Promise<PlanUpgradeValidation> {
|
||||
@@ -133,7 +133,7 @@ export class SubscriptionService {
|
||||
}
|
||||
|
||||
try {
|
||||
const plans = await apiClient.get<AvailablePlans>('/subscriptions/plans');
|
||||
const plans = await apiClient.get<AvailablePlans>('/plans');
|
||||
cachedPlans = plans;
|
||||
lastFetchTime = now;
|
||||
return plans;
|
||||
|
||||
Reference in New Issue
Block a user