(name)
| 1548 | } |
| 1549 | |
| 1550 | function updateClientB(name) { |
| 1551 | return function updateInstanceB(next) { |
| 1552 | ClientB.findById(sourceInstanceId, function(err, instance) { |
| 1553 | if (err) return next(err); |
| 1554 | |
| 1555 | instance.name = name; |
| 1556 | instance.save(next); |
| 1557 | }); |
| 1558 | }; |
| 1559 | } |
| 1560 | |
| 1561 | function sync(client, server) { |
| 1562 | return function syncBothWays(next) { |
no test coverage detected
searching dependent graphs…