1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

All: Handle case where file is left half-uploaded on Nextcloud instance (possibly an ocloud.de issue only)

This commit is contained in:
Laurent Cozic
2018-01-30 20:10:36 +00:00
parent 2805ae2acf
commit 7b760d03ef
4 changed files with 56 additions and 7 deletions

View File

@@ -161,6 +161,8 @@ class WebDavApi {
let response = null;
// console.info('WebDAV', method + ' ' + path, headers, options);
if (options.source == 'file' && (method == 'POST' || method == 'PUT')) {
response = await shim.uploadBlob(url, fetchOptions);
} else if (options.target == 'string') {