You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-02 22:49:09 +02:00
All: Fixes #2091: Handle WebDAV servers that do not return a last modified date (fixes mail.ru)
This commit is contained in:
@@ -195,6 +195,8 @@ class WebDavApi {
|
||||
}
|
||||
|
||||
if (outputType === 'string') {
|
||||
if (!output) throw new JoplinError(`String property not found: ${propName}: ${JSON.stringify(resource)}`, 'stringNotFound');
|
||||
|
||||
// If the XML has not attribute the value is directly a string
|
||||
// If the XML node has attributes, the value is under "_".
|
||||
// Eg for this XML, the string will be under {"_":"Thu, 01 Feb 2018 17:24:05 GMT"}:
|
||||
|
||||
Reference in New Issue
Block a user