fixup for uuidIndex when deleting
This commit is contained in:
parent
8fb09f1a03
commit
7ba319b872
|
@ -58,9 +58,9 @@ const syncMan = (() => {
|
||||||
|
|
||||||
async delete(_id, rev) {
|
async delete(_id, rev) {
|
||||||
if (ready.then) await ready;
|
if (ready.then) await ready;
|
||||||
|
uuidIndex.delete(_id);
|
||||||
if (!currentDrive) return;
|
if (!currentDrive) return;
|
||||||
schedule();
|
schedule();
|
||||||
uuidIndex.delete(_id);
|
|
||||||
return ctrl.delete(_id, rev);
|
return ctrl.delete(_id, rev);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user