Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent ebc6cd4 commit 2d0d6392904100fca35bcf778b291ea5ddf6e31c @lightsofapollo committed May 1, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -13,14 +13,14 @@ var agent = require('superagent-promise');
// method, url form
agent('GET', 'http://google.com').
end().
- then(function onResult() {
+ then(function onResult(res) {
});
// helper functions: get, head, patch, post, put, del
agent().
put('http://myxfoo', 'data').
end().
- then(function() {
+ then(function(res) {
});
```

0 comments on commit 2d0d639

Please sign in to comment.