Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderGugel committed Nov 5, 2014
1 parent 6d1ae6d commit 975da4b
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 975da4b

Please sign in to comment.