Fix issue when exporting apps
This commit is contained in:
parent
1256b01275
commit
9e89881396
|
@ -104,9 +104,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
const exportApp = app => {
|
const exportApp = app => {
|
||||||
|
const id = app.deployed ? app.prodId : app.devId
|
||||||
try {
|
try {
|
||||||
download(
|
download(
|
||||||
`/api/backups/export?appId=${app.appId}&appname=${encodeURIComponent(
|
`/api/backups/export?appId=${id}&appname=${encodeURIComponent(
|
||||||
app.name
|
app.name
|
||||||
)}`
|
)}`
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue