1
0
Fork 0
mirror of synced 2024-06-28 19:10:33 +12:00

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

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
)}`
)