mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-10 11:22:29 +00:00
Fixed file deletion failures.
This commit is contained in:
+1
-1
@@ -462,7 +462,7 @@ export class LocalPouchDB {
|
||||
} else {
|
||||
obj = await this.localDatabase.get(id);
|
||||
}
|
||||
const revDeletion = ("rev" in opt ? opt.rev : "") != "";
|
||||
const revDeletion = opt && (("rev" in opt ? opt.rev : "") != "");
|
||||
|
||||
if (obj.type && obj.type == "leaf") {
|
||||
//do nothing for leaf;
|
||||
|
||||
Reference in New Issue
Block a user