Fix
This commit is contained in:
parent
8c1d0d1e4e
commit
69864a174a
|
@ -335,13 +335,14 @@ async function performAppCreate(ctx: UserCtx) {
|
|||
/* istanbul ignore next */
|
||||
if (!env.isTest()) {
|
||||
await createApp(appId)
|
||||
// Initialise app migration version
|
||||
await appMigrations.updateAppMigrationMetadata({
|
||||
appId,
|
||||
version: appMigrations.latestMigration,
|
||||
})
|
||||
}
|
||||
|
||||
// Initialise app migration version
|
||||
await appMigrations.updateAppMigrationMetadata({
|
||||
appId,
|
||||
version: appMigrations.latestMigration,
|
||||
})
|
||||
|
||||
await cache.app.invalidateAppMetadata(appId, newApplication)
|
||||
return newApplication
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue