mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-10 09:46:40 +02:00
This commit is contained in:
parent
abad626b3d
commit
c7e09304a6
|
@ -159,7 +159,6 @@ final class SyncEngine
|
|||
{
|
||||
JSONValue changes;
|
||||
string deltaLink = itemdb.getDeltaLink(driveId, id);
|
||||
bool isRoot = true; // fix for https://github.com/skilion/onedrive/issues/269
|
||||
log.vlog("Applying changes of " ~ id);
|
||||
do {
|
||||
try {
|
||||
|
@ -174,8 +173,8 @@ final class SyncEngine
|
|||
}
|
||||
}
|
||||
foreach (item; changes["value"].array) {
|
||||
bool isRoot = (id == item["id"].str); // fix for https://github.com/skilion/onedrive/issues/269
|
||||
applyDifference(item, driveId, isRoot);
|
||||
isRoot = false;
|
||||
}
|
||||
|
||||
// the response may contain either @odata.deltaLink or @odata.nextLink
|
||||
|
|
Loading…
Reference in a new issue