From b750bbfda3ded6a2d007edd414c22d62217529dd Mon Sep 17 00:00:00 2001 From: snugghash Date: Sat, 10 Jun 2017 23:54:34 +0530 Subject: [PATCH] Fix unexpected end error from node --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 22be5cf..0eef7cd 100644 --- a/index.js +++ b/index.js @@ -3,6 +3,7 @@ * and in case it's a comment that has "@autobounty " * awards that bounty to the address posted earlier in the thread (by the * commiteth bot). + * TODO tests */ const SignerProvider = require('ethjs-provider-signer'); @@ -43,9 +44,10 @@ app.post('/address/:address', function(req, res, next){ res.json({ txID }) } }); - }) + }); }); const port = process.env.PORT || 8181 app.listen(port, function(){ console.log('Autobounty listening on port', port); +});