change endpoint for add access
This commit is contained in:
parent
c0d2fca792
commit
0a1b9319e5
|
@ -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…
Reference in New Issue