Fix issue when exporting apps

This commit is contained in:
Andrew Kingston 2021-05-26 14:58:24 +01:00
parent 7e95961542
commit ee9d247997
1 changed files with 2 additions and 1 deletions

View File

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