Browse Source

change endpoint for add access

activeAddress
Matias Alejo Garcia 10 years ago
parent
commit
0a1b9319e5
  1. 3
      lib/expressapp.js

3
lib/expressapp.js

@ -140,7 +140,8 @@ ExpressApp.prototype.start = function(opts, cb) {
});
});
router.put('/v1/copayers/', function(req, res) {
router.put('/v1/copayers/:id/', function(req, res) {
req.body.copayerId = req.params['id'];
var server = getServer(req, res);
server.addAccess(req.body, function(err, result) {
if (err) return returnError(err, res, req);

Loading…
Cancel
Save