From 975da4b9fdac13dba3460f945f08b7f083ac6dd5 Mon Sep 17 00:00:00 2001 From: Alexander Gugel Date: Wed, 5 Nov 2014 12:21:07 +0100 Subject: [PATCH] Fix typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c6c418860..79d6d8d66 100644 --- a/README.md +++ b/README.md @@ -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); }