mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-10 09:46:40 +02:00
ensures that the parentId of the root is null
This commit is contained in:
parent
d624aec3ad
commit
abad626b3d
|
@ -199,6 +199,7 @@ final class SyncEngine
|
|||
|
||||
if (isItemRoot(driveItem) || !item.parentId || isRoot) {
|
||||
log.vlog("Root");
|
||||
item.parentId = null; // ensures that it has no parent
|
||||
item.driveId = driveId; // HACK: makeItem() cannot set the driveId propery of the root
|
||||
itemdb.upsert(item);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue