return note

This commit is contained in:
Javier 2016-10-11 16:12:23 -03:00
parent eaccf16436
commit dc5dd1a68e
1 changed files with 2 additions and 2 deletions

View File

@ -586,9 +586,9 @@ ExpressApp.prototype.start = function(opts, cb) {
router.put('/v1/txnotes/:txid/', function(req, res) {
req.body.txid = req.params['txid'];
getServerWithAuth(req, res, function(server) {
server.editTxNote(req.body, function(err) {
server.editTxNote(req.body, function(err, note) {
if (err) return returnError(err, res, req);
res.end();
res.json(note);
});
});
});