Skip to content

Commit

Permalink
fix(readme): typos on hukkup param object
Browse files Browse the repository at this point in the history
  • Loading branch information
nampdn committed Nov 21, 2018
1 parent c8e65c8 commit 7e340f0
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 @@ -33,12 +33,12 @@ hukk.listen(3000, () => {
import {hukkup} from 'hukk'

const data = {bar: 'boo'}
hukkup({host: 'localhost', port: 3000, endpoint: '/webhook', data}, (err, data) => {
hukkup({hostname: 'localhost', port: 3000, endpoint: '/webhook', data}, (err, data) => {
if (err) {
console.error(err)
}
console.log('Response: ', data) // {"body": {"bar": "boo"}}
})
```
## License
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fnampdn%2Fhukk.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fnampdn%2Fhukk?ref=badge_large)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fnampdn%2Fhukk.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fnampdn%2Fhukk?ref=badge_large)

0 comments on commit 7e340f0

Please sign in to comment.