1
0
Fork 0
mirror of synced 2024-07-19 21:26:22 +12:00

Merge branch 'budi-7010/frontend-encrypt-app-exports' into budi-7010/frontend-encrypt-app-imports

This commit is contained in:
Adria Navarro 2023-06-14 11:34:09 +01:00
commit 450ac715a2

View file

@ -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) {