make reset return the hash, not an array with containing it

pull/1/head
ansuz 8 years ago
parent 108ab7e9de
commit 1d933be5a6

@ -50,7 +50,9 @@ define([
// if local and remote hashes don't match, send a reset
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)

Loading…
Cancel
Save