Skip to content
Snippets Groups Projects
Unverified Commit b98a4f36 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Use new webdavUrl of webapppassword (dbp/nextcloud/webapppassword#13)

parent a090cb6b
No related branches found
No related tags found
No related merge requests found
Pipeline #14938 failed
......@@ -300,11 +300,9 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) {
this.loginWindow.close();
}
const apiUrl = this.webDavUrl + "/" + data.loginName;
// see https://github.com/perry-mitchell/webdav-client/blob/master/API.md#module_WebDAV.createClient
this.webDavClient = createClient(
apiUrl,
data.webdavUrl ?? this.webDavUrl + "/" + data.loginName,
{
username: data.loginName,
password: data.token
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment