Futa Arai 2 лет назад
Родитель
Сommit
eb9588ed91

+ 2 - 2
apps/app/src/features/page-bulk-export/server/service/page-bulk-export.ts

@@ -37,7 +37,7 @@ class PageBulkExportService {
     const timeStamp = (new Date()).getTime();
     const uploadKey = `page-bulk-export-${timeStamp}.zip`;
 
-    const pageReadable = this.getPageReadable(basePagePath);
+    const pagesReadable = this.getPageReadable(basePagePath);
     const zipArchiver = this.setUpZipArchiver();
     const pagesWritable = this.getPageWritable(zipArchiver);
 
@@ -57,7 +57,7 @@ class PageBulkExportService {
 
     // Cannot directly pipe from pagesWritable to zipArchiver due to how the 'append' method works.
     // Hence, execution of two pipelines is required.
-    pipeline(pageReadable, pagesWritable, err => this.handleExportError(err, multipartUploader));
+    pipeline(pagesReadable, pagesWritable, err => this.handleExportError(err, multipartUploader));
     pipeline(zipArchiver, multipartUploadWritable, err => this.handleExportError(err, multipartUploader));
   }