make opt not optional

This commit is contained in:
andz-bb 2024-11-08 14:24:31 +00:00
parent 33656a4ae5
commit 932b119a66
2 changed files with 2 additions and 1 deletions

View File

@ -123,6 +123,7 @@ export async function updateWithExport(
// don't need obj store, the existing app already has everything we need
await backups.importApp(devId, tempDb, template, {
importObjStoreContents: false,
updateAttachmentColumns: true,
})
const newMetadata = await getNewAppMetadata(tempDb, appDb)
// get the documents to copy

View File

@ -172,7 +172,7 @@ export async function importApp(
template: TemplateType,
opts: {
importObjStoreContents: boolean
updateAttachmentColumns?: boolean
updateAttachmentColumns: boolean
} = { importObjStoreContents: true, updateAttachmentColumns: true }
) {
let prodAppId = dbCore.getProdAppID(appId)