Fix initial run
This commit is contained in:
parent
f484c6dabd
commit
61e16b63a5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue