Deleted useless code.

This commit is contained in:
Tatiana Lopaeva 2024-08-06 13:46:47 +03:00
parent dc27284371
commit 544489b2b3
2 changed files with 0 additions and 21 deletions

View File

@ -256,16 +256,6 @@ export async function getPortalPaymentQuotas() {
return res; 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) { export async function getPortalQuota(refresh = false) {
const params = refresh ? { refresh: true } : {}; const params = refresh ? { refresh: true } : {};
// console.log("getPortalQuota", { params }); // console.log("getPortalQuota", { params });

View File

@ -118,17 +118,6 @@ export type TTenantExtraRes = {
enableTariffPage: boolean; enableTariffPage: boolean;
}; };
export type TTenantExtra = {
customMode: boolean;
opensource: boolean;
enterprise: boolean;
tariff: TTariff;
quota: TPaymentQuota;
notPaid: boolean;
licenseAccept: Date;
enableTariffPage: boolean;
};
export type TRestoreProgress = { export type TRestoreProgress = {
progress: number; progress: number;
error?: any; error?: any;