add json response on delete

This commit is contained in:
Ivan Socolsky 2015-04-13 10:02:26 -03:00
parent 87b6ec60f2
commit 04d6597864
1 changed files with 3 additions and 0 deletions

View File

@ -267,6 +267,9 @@ ExpressApp.start = function(opts) {
req.body.txProposalId = req.params['id'];
server.removePendingTx(req.body, function(err) {
if (err) return returnError(err, res, req);
res.json({
success: true
});
res.end();
});
});