Add download bucket as zip archive
This commit is contained in:
@@ -97,7 +97,7 @@ class Store {
|
||||
if(!end) end = info.size - 1;
|
||||
contentLength = end - start + 1
|
||||
}
|
||||
cb({ contentLength, metadata: info.metadata, info });
|
||||
if(cb) cb({ contentLength, metadata: info.metadata, info });
|
||||
});
|
||||
return fsp.createReadStream(this.getFilename(fid), {start, end});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user