Skip to content

Commit

Permalink
Fix erroneous variable name in example code.
Browse files Browse the repository at this point in the history
  • Loading branch information
evnm committed May 15, 2011
1 parent 938a22a commit 31fab12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ As of v0.3.1, dropbox-node exposes a method `getFileStream` that allows stream-b
, write_stream = require('fs').createWriteStream("out")

request.on('response', function (response) {
res.on('data', function (chunk) { write_stream.write(chunk) })
res.on('end', function () { write_stream.end() })
response.on('data', function (chunk) { write_stream.write(chunk) })
response.on('end', function () { write_stream.end() })
})
request.end()

Expand Down

0 comments on commit 31fab12

Please sign in to comment.