1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Refactored handling of multiple sync targets

This commit is contained in:
Laurent Cozic
2017-07-24 18:01:40 +00:00
parent 04cd9a1e7b
commit 0f95e97d19
18 changed files with 630 additions and 581 deletions

View File

@ -185,12 +185,10 @@ class FileApiDriverOneDrive {
};
let context = options ? options.context : null;
let url = null;
let url = context ? context.nextLink : null;
let query = null;
if (context) {
url = context.nextLink;
} else {
if (!url) {
url = this.makePath_(path) + ':/delta';
query = this.itemFilter_();
query.select += ',deleted';