1
0
Fork 0
mirror of synced 2024-10-05 20:44:47 +13:00

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

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
}