Fix drive deletion

This commit is contained in:
yflory
2019-08-12 15:38:21 +02:00
parent 20ba9f86ff
commit 3303e9738d
2 changed files with 5 additions and 2 deletions

View File

@@ -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({