return note
This commit is contained in:
parent
eaccf16436
commit
dc5dd1a68e
|
@ -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);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue