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