Keep QA check for no caching of app migration info.

This commit is contained in:
mike12345567 2024-06-11 16:02:38 +01:00
parent 5b385ce8ae
commit c2415012c2
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@ export async function getAppMigrationVersion(appId: string): Promise<string> {
let metadata: AppMigrationDoc | undefined = await cache.get(cacheKey)
// We don't want to cache in dev in order to be able to tweak it
if (metadata && !env.isDev()) {
// We don't want to cache in dev or QA in order to be able to tweak it
if (metadata && !env.isDev() && !env.isQA()) {
return metadata.version
}