Fix issue when exporting apps
This commit is contained in:
parent
7e95961542
commit
ee9d247997
|
@ -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