make opt not optional
This commit is contained in:
parent
33656a4ae5
commit
932b119a66
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue