make reset return the hash, not an array with containing it
This commit is contained in:
@@ -50,7 +50,9 @@ define([
|
|||||||
|
|
||||||
// if local and remote hashes don't match, send a reset
|
// if local and remote hashes don't match, send a reset
|
||||||
exp.reset = function (list, cb) {
|
exp.reset = function (list, cb) {
|
||||||
rpc.send('RESET', list, cb);
|
rpc.send('RESET', list, function (e, response) {
|
||||||
|
cb(e, response[0]);
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
// get the total stored size of a channel's patches (in bytes)
|
// get the total stored size of a channel's patches (in bytes)
|
||||||
|
|||||||
Reference in New Issue
Block a user