mirror of https://github.com/laurent22/joplin.git
pull/4306/head
parent
3626714403
commit
5d1dc224ca
|
@ -220,9 +220,8 @@ class FileApiDriverOneDrive {
|
|||
};
|
||||
|
||||
const freshStartDelta = () => {
|
||||
// Business Accounts are only allowed to make delta requests to the root. For some reason /delta gives an error for personal accounts and :/delta an error for business accounts
|
||||
const accountProperties = this.api_.accountProperties_;
|
||||
const url = (accountProperties.accountType === 'business') ? `/drives/${accountProperties.driveId}/root/delta` : `${this.makePath_(path)}:/delta`;
|
||||
const url = `/drives/${accountProperties.driveId}/root/delta`;
|
||||
const query = this.itemFilter_();
|
||||
query.select += ',deleted';
|
||||
return { url: url, query: query };
|
||||
|
|
Loading…
Reference in New Issue