mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-20 14:46:35 +02:00
do not throw in makeItem
This commit is contained in:
parent
764975e224
commit
c54d1927e9
|
@ -54,7 +54,7 @@ private Item makeItem(const ref JSONValue driveItem)
|
||||||
} else if (isItemRemote(driveItem)) {
|
} else if (isItemRemote(driveItem)) {
|
||||||
item.type = ItemType.remote;
|
item.type = ItemType.remote;
|
||||||
} else {
|
} else {
|
||||||
assert(0);
|
// do not throw exception, item will be removed in applyDifferences()
|
||||||
}
|
}
|
||||||
|
|
||||||
// root and remote items do not have parentReference
|
// root and remote items do not have parentReference
|
||||||
|
|
Loading…
Reference in a new issue