Caching is making testing difficult - want to confirm app migrations are doing what they are expected to do

This commit is contained in:
mike12345567 2024-06-11 11:23:52 +01:00
parent 51fad26be0
commit 66789888ac
1 changed files with 3 additions and 3 deletions

View File

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