Merge branch 'develop' into bump-qa-core-deps
This commit is contained in:
commit
07c5c174b6
|
@ -5,9 +5,9 @@ import { quotas } from "@budibase/pro"
|
||||||
export async function deleteTenant(tenantId: string) {
|
export async function deleteTenant(tenantId: string) {
|
||||||
await quotas.bustCache()
|
await quotas.bustCache()
|
||||||
await platform.tenants.removeTenant(tenantId)
|
await platform.tenants.removeTenant(tenantId)
|
||||||
await removeGlobalDB(tenantId)
|
|
||||||
await removeTenantUsers(tenantId)
|
await removeTenantUsers(tenantId)
|
||||||
await removeTenantApps(tenantId)
|
await removeTenantApps(tenantId)
|
||||||
|
await removeGlobalDB(tenantId)
|
||||||
}
|
}
|
||||||
|
|
||||||
async function removeGlobalDB(tenantId: string) {
|
async function removeGlobalDB(tenantId: string) {
|
||||||
|
|
Loading…
Reference in New Issue