1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Server: Add support for sharing notes via a link

This commit is contained in:
Laurent Cozic
2021-01-29 18:45:11 +00:00
parent 4a847a096b
commit ccbc329cbf
136 changed files with 4713 additions and 5561 deletions

View File

@@ -198,7 +198,7 @@ class FileApiDriverOneDrive {
async clearRoot() {
const recurseItems = async (path) => {
const result = await this.list(this.fileApi_.fullPath_(path));
const result = await this.list(this.fileApi_.fullPath(path));
const output = [];
for (const item of result.items) {
@@ -206,7 +206,7 @@ class FileApiDriverOneDrive {
if (item.isDir) {
await recurseItems(fullPath);
}
await this.delete(this.fileApi_.fullPath_(fullPath));
await this.delete(this.fileApi_.fullPath(fullPath));
}
return output;