Attempting to add delete files in during deletion.
This commit is contained in:
parent
b57b525a6e
commit
89d320578d
|
@ -654,9 +654,7 @@ async function destroyApp(ctx: UserCtx) {
|
||||||
await quotas.removeApp()
|
await quotas.removeApp()
|
||||||
await events.app.deleted(app)
|
await events.app.deleted(app)
|
||||||
|
|
||||||
if (!env.isTest()) {
|
|
||||||
await deleteAppFiles(appId)
|
await deleteAppFiles(appId)
|
||||||
}
|
|
||||||
|
|
||||||
await removeAppFromUserRoles(ctx, appId)
|
await removeAppFromUserRoles(ctx, appId)
|
||||||
await cache.app.invalidateAppMetadata(devAppId)
|
await cache.app.invalidateAppMetadata(devAppId)
|
||||||
|
|
Loading…
Reference in New Issue