coreh / hookshot

Hookshot is a tiny library and companion CLI tool for handling GitHub post-receive hooks.
MIT License
145 stars 24 forks source link

Fix deprecated use of res.send #16

Open mdsteveb opened 6 years ago

mdsteveb commented 6 years ago

Small patch to resolve warning message I've been getting:

express deprecated res.send(status, body): Use res.status(status).send(body) instead at home/ubuntu/node_modules/hookshot/lib/index.js:33:9