Permalink
Browse files

more verbose responses

  • Loading branch information...
1 parent b975d51 commit 2ca037f541bec33bdd1e5dc7439fdf27617b0d4b @contra contra committed Sep 14, 2011
Showing with 3 additions and 2 deletions.
  1. +2 −1 nodester.js
  2. +1 −1 package.json
View
3 nodester.js
@@ -54,7 +54,8 @@ function process_response(cb, errfn) {
};
}
}
- cb(err, data);
+ original = {body: body, response: response};
+ cb(err, data, original);
}
}
View
2 package.json
@@ -1,7 +1,7 @@
{
"name": "nodester-api",
"description": "A module to allow interaction with the http://nodester.com/ platform.",
- "version": "0.1.13",
+ "version": "0.1.14",
"homepage": "http://nodester.com/",
"repository": "git://github.com/nodester/nodester-api.git",
"author": "Daniel Bartlett <dan@f-box.org> (http://danb-uk.net/)",

0 comments on commit 2ca037f

Please sign in to comment.