We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a69ed6 commit 8851a28Copy full SHA for 8851a28
docs/reference/content/tutorials/gridfs/streaming.md
@@ -166,7 +166,7 @@ bucket.openDownloadStreamByName('meistersinger.mp3').
166
on('error', function(error) {
167
assert.ifError(error);
168
}).
169
- on('end', function() {
+ on('finish', function() {
170
console.log('done!');
171
process.exit(0);
172
});
@@ -185,7 +185,7 @@ bucket.openDownloadStreamByName('meistersinger.mp3').
185
186
187
188
189
190
191
0 commit comments