Deleted useless code.
This commit is contained in:
parent
dc27284371
commit
544489b2b3
@ -256,16 +256,6 @@ export async function getPortalPaymentQuotas() {
|
||||
return res;
|
||||
}
|
||||
|
||||
export async function getPortalTenantExtra(refresh: boolean) {
|
||||
const params = refresh ? { refresh: true } : {};
|
||||
const res = (await request({
|
||||
method: "get",
|
||||
url: "/portal/tenantextra",
|
||||
params,
|
||||
})) as TTenantExtra;
|
||||
|
||||
return res;
|
||||
}
|
||||
export async function getPortalQuota(refresh = false) {
|
||||
const params = refresh ? { refresh: true } : {};
|
||||
// console.log("getPortalQuota", { params });
|
||||
|
@ -118,17 +118,6 @@ export type TTenantExtraRes = {
|
||||
enableTariffPage: boolean;
|
||||
};
|
||||
|
||||
export type TTenantExtra = {
|
||||
customMode: boolean;
|
||||
opensource: boolean;
|
||||
enterprise: boolean;
|
||||
tariff: TTariff;
|
||||
quota: TPaymentQuota;
|
||||
notPaid: boolean;
|
||||
licenseAccept: Date;
|
||||
enableTariffPage: boolean;
|
||||
};
|
||||
|
||||
export type TRestoreProgress = {
|
||||
progress: number;
|
||||
error?: any;
|
||||
|
Loading…
Reference in New Issue
Block a user