Fix initial run

This commit is contained in:
Adria Navarro 2023-12-29 12:55:14 +01:00
parent f484c6dabd
commit 61e16b63a5
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ export async function getAppMigrationVersion(appId: string): Promise<string> {
let version
try {
metadata = await getFromDB(appId)
version = metadata.version
version = metadata.version || ""
} catch (err: any) {
if (err.status !== 404) {
throw err