Browse Source
Merge pull request #1566 from Budibase/ak-fixes
Fix issue when exporting apps
pull/1567/head
Andrew Kingston
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
packages/builder/src/pages/builder/portal/apps/index.svelte
|
|
|
@ -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 |
|
|
|
)}` |
|
|
|
) |
|
|
|
|