diff --git a/lib/index.js b/lib/index.js index 1c84390..d54e85a 100644 --- a/lib/index.js +++ b/lib/index.js @@ -30,7 +30,7 @@ module.exports = function (ref, action) { } hookshot.emit('hook', payload); hookshot.emit(payload.ref, payload); - res.send(202, 'Accepted\n'); + res.sendStatus(202); }); if (arguments.length == 1) {