1
0
Fork 0
mirror of synced 2024-09-30 17:18:14 +13:00

Fix issue when exporting apps

This commit is contained in:
Andrew Kingston 2021-05-26 14:58:24 +01:00
parent 1256b01275
commit 9e89881396

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