add json response on delete
This commit is contained in:
parent
87b6ec60f2
commit
04d6597864
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue