Merge pull request #15537 from Budibase/fix/app-export

Fixing app export
This commit is contained in:
Michael Drury 2025-02-12 15:21:36 +00:00 committed by GitHub
commit 22b5523833
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -424,7 +424,7 @@ export async function retrieveDirectory(bucketName: string, path: string) {
stream.pipe(writeStream)
writePromises.push(
new Promise((resolve, reject) => {
stream.on("finish", resolve)
writeStream.on("finish", resolve)
stream.on("error", reject)
writeStream.on("error", reject)
})