make reset return the hash, not an array with containing it
This commit is contained in:
parent
108ab7e9de
commit
1d933be5a6
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user