Skip to content

Commit

Permalink
Merge pull request #1241 from alexanderGugel/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
nylen committed Nov 5, 2014
2 parents 6d1ae6d + 975da4b commit 1fc4811
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -297,8 +297,8 @@ Some variations in different HTTP implementations require a newline/CRLF before,
]
}
, function (error, response, body) {
if (err) {
return console.error('upload failed:', err);
if (error) {
return console.error('upload failed:', error);
}
console.log('Upload successful! Server responded with:', body);
}
Expand Down

0 comments on commit 1fc4811

Please sign in to comment.