Ivan Socolsky
9 years ago
No known key found for this signature in database
GPG Key ID: FAECE6A05FAA4F56
1 changed files with
10 additions and
0 deletions
-
lib/expressapp.js
|
|
@ -514,6 +514,16 @@ 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) { |
|
|
|
if (err) return returnError(err, res, req); |
|
|
|
res.end(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
router.get('/v1/fiatrates/:code/', function(req, res) { |
|
|
|
getServerWithAuth(req, res, function(server) { |
|
|
|
var opts = { |
|
|
|