Merge branch 'budi-7010/frontend-encrypt-app-exports' into budi-7010/frontend-encrypt-app-imports
This commit is contained in:
commit
450ac715a2
|
@ -54,7 +54,10 @@
|
||||||
const exportApp = async () => {
|
const exportApp = async () => {
|
||||||
const id = published ? app.prodId : app.devId
|
const id = published ? app.prodId : app.devId
|
||||||
const url = `/api/backups/export?appId=${id}`
|
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) {
|
export async function downloadFile(url, body) {
|
||||||
|
|
Loading…
Reference in New Issue