Fix drive deletion

pull/1/head
yflory 5 years ago
parent 20ba9f86ff
commit 3303e9738d

@ -773,7 +773,7 @@ define([
waitFor.abort();
return void cb(obj);
}
}), true);
}));
common.unpinPads([oldChannel], waitFor());
common.pinPads([newSecret.channel], waitFor());
}).nThen(function (waitFor) {

@ -587,7 +587,10 @@ define([
}));
}).nThen(function (waitFor) {
// Delete Drive
Store.removeOwnedChannel(clientId, secret.channel, waitFor());
Store.removeOwnedChannel(clientId, {
channel: secret.channel
force: true
}, waitFor());
}).nThen(function () {
store.network.disconnect();
cb({

Loading…
Cancel
Save