mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-10 01:36:39 +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)) {
|
||||
item.type = ItemType.remote;
|
||||
} else {
|
||||
assert(0);
|
||||
// do not throw exception, item will be removed in applyDifferences()
|
||||
}
|
||||
|
||||
// root and remote items do not have parentReference
|
||||
|
|
Loading…
Reference in a new issue