mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
do not throw in makeItem
This commit is contained in:
parent
764975e224
commit
c54d1927e9
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue