Drive API: example mistake #1788
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
type: docs
Improvement to the documentation for an API.
On /samples/drive/export.js there is a mistake
I tried the function a few times and it downloaded 20kb less each time
So I discover that the function finish to run by await to
res.data.on('end')
but the stream didn't finish to write the data to the fs yet
The correct function is:
The text was updated successfully, but these errors were encountered: