mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-15 20:25:18 +02:00
fix condition in applyDifferences loop
This commit is contained in:
parent
6913c87d5c
commit
bbbfeb68f3
|
@ -109,7 +109,7 @@ final class SyncEngine
|
|||
}
|
||||
statusToken = changes["@delta.token"].str;
|
||||
std.file.write(cfg.statusTokenFilePath, statusToken);
|
||||
} while ((changes.type != JSON_TYPE.OBJECT) && (("@odata.nextLink" in changes) !is null));
|
||||
} while (!((changes.type == JSON_TYPE.OBJECT) && (("@odata.nextLink" in changes) is null)));
|
||||
} catch (ErrnoException e) {
|
||||
throw new SyncException(e.msg, e);
|
||||
} catch (FileException e) {
|
||||
|
|
Loading…
Reference in a new issue