Merge pull request #1566 from Budibase/ak-fixes

Fix issue when exporting apps
This commit is contained in:
Andrew Kingston 2021-05-26 15:02:34 +01:00 committed by GitHub
commit f9157f49f9
1 changed files with 2 additions and 1 deletions

View File

@ -104,9 +104,10 @@
}
const exportApp = app => {
const id = app.deployed ? app.prodId : app.devId
try {
download(
`/api/backups/export?appId=${app.appId}&appname=${encodeURIComponent(
`/api/backups/export?appId=${id}&appname=${encodeURIComponent(
app.name
)}`
)