diff --git a/lib/http/server.js b/lib/http/server.js index bf93bfc8..d295eeae 100644 --- a/lib/http/server.js +++ b/lib/http/server.js @@ -701,6 +701,7 @@ HTTPServer.prototype._init = function _init() { // Resend this.post('/resend', con(function* (req, res, send, next) { yield this.walletdb.resend(); + send(200, { success: true }); })); // Zap @@ -1073,6 +1074,7 @@ HTTPServer.prototype._init = function _init() { // Resend this.post('/wallet/:id/resend', con(function* (req, res, send, next) { yield req.wallet.resend(); + send(200, { success: true }); })); this.server.on('error', function(err) {