Comparing version 0.2.4-16 to 0.2.4-17
@@ -261,2 +261,6 @@ var mongodb = require("mongodb"); | ||
MongoFileHandler.prototype.getFileDetails = function(db, groupId, cb){ | ||
getFileDetails(db, {"groupId": groupId}, {}, cb); | ||
} | ||
function sanityCheckExportParameters(db, exportEntries, cb){ | ||
@@ -695,4 +699,5 @@ var groupIdEntries = {}; | ||
return cb(err, fileReadStream); | ||
return cb(err, fileReadStream, fileDetails.length); | ||
}); | ||
@@ -699,0 +704,0 @@ } |
{ | ||
"name": "fh-gridfs", | ||
"version": "0.2.4-16", | ||
"version": "0.2.4-17", | ||
"description": "Wrapper for file storage using gridfs for mongo databases.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -1,1 +0,1 @@ | ||
0.2.4-16 | ||
0.2.4-17 |
35684
554