Skip to content

Commit

Permalink
docs: fixed arrow function for example
Browse files Browse the repository at this point in the history
  • Loading branch information
niftylettuce committed Jun 6, 2019
1 parent 4dd96c0 commit 0a822ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ This is the solution for you if you're just using `<script>` tags everywhere!
.send({ name: 'Manny', species: 'cat' }) // sends a JSON post body
.set('X-API-Key', 'foobar')
.set('accept', 'json')
.end((err, res) => {
.end(function (err, res) {
// Calling the end function will send the request
});
})();
Expand Down Expand Up @@ -246,7 +246,7 @@ Our breaking changes are mostly in rarely used functionality and from stricter e
[MIT](LICENSE) © TJ Holowaychuk


##
##

[npm]: https://www.npmjs.com/

Expand Down

0 comments on commit 0a822ab

Please sign in to comment.