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

Fix fallback declaration (dbp/nextcloud/webapppassword#13)

parent b98a4f36
No related branches found
No related tags found
No related merge requests found
Pipeline #14942 passed
......@@ -302,7 +302,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) {
// see https://github.com/perry-mitchell/webdav-client/blob/master/API.md#module_WebDAV.createClient
this.webDavClient = createClient(
data.webdavUrl ?? this.webDavUrl + "/" + data.loginName,
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