Corrected files readStream

parent 1db3f9cb
......@@ -67,7 +67,7 @@ module.exports = bucket => {
},
readStream: fileId => {
return bucket.readById(fileId)
return bucket.createReadStream({_id: fileId})
},
fileInfo: fileId => {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment