This commit is contained in:
skilion 2016-12-14 19:51:23 +01:00
parent 3d5ce3d13a
commit e33f566ecf

View file

@ -109,7 +109,7 @@ final class SyncEngine
}
statusToken = changes["@delta.token"].str;
std.file.write(cfg.statusTokenFilePath, statusToken);
} while (("@odata.nextLink" in changes.object) !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) {