Browse Source

add json response on delete

activeAddress
Ivan Socolsky 10 years ago
parent
commit
04d6597864
  1. 3
      lib/expressapp.js

3
lib/expressapp.js

@ -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…
Cancel
Save