Merge branch 'budi-7010/frontend-encrypt-app-exports' into budi-7010/frontend-encrypt-app-imports
This commit is contained in:
commit
450ac715a2
1 changed files with 4 additions and 1 deletions
|
@ -54,7 +54,10 @@
|
|||
const exportApp = async () => {
|
||||
const id = published ? app.prodId : app.devId
|
||||
const url = `/api/backups/export?appId=${id}`
|
||||
await downloadFile(url, { excludeRows, encryptPassword: password })
|
||||
await downloadFile(url, {
|
||||
excludeRows: !includeInternalTablesRows,
|
||||
encryptPassword: password,
|
||||
})
|
||||
}
|
||||
|
||||
export async function downloadFile(url, body) {
|
||||
|
|
Loading…
Reference in a new issue