|
|
@@ -355,7 +355,7 @@ class ExportService {
|
|
|
// finalize the archive (ie we are done appending files but streams have to finish yet)
|
|
|
// 'close', 'end' or 'finish' may be fired right after calling this method so register to them beforehand
|
|
|
archive.finalize();
|
|
|
- await stream;
|
|
|
+ await finished(stream);
|
|
|
|
|
|
logger.info(`zipped GROWI data into ${zipFile} (${archive.pointer()} bytes)`);
|
|
|
|