From 17875ca5a731de0f04fb8e6ce7ae44944714c393 Mon Sep 17 00:00:00 2001 From: Junho Kyung Date: Thu, 20 Oct 2011 10:31:42 +0900 Subject: [PATCH] update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 86c13a2..28faf1c 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,8 @@ NPM , pass: 'auth-key' , host: 'auth.api.yourcloud.com' , port: 443 - }, function(req) { - if (req.statusCode == 200) + }, function(result, headers) { + if (swift.account && swift.token) // success else // error