Merge pull request #1566 from Budibase/ak-fixes
Fix issue when exporting apps
This commit is contained in:
commit
f9157f49f9
|
@ -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
|
||||
)}`
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue