This commit is contained in:
Trym Lund Flogard 2021-06-02 18:43:40 +02:00
parent cb9c817940
commit 353b719074
2 changed files with 715 additions and 715 deletions

1428
dist/index.js vendored

File diff suppressed because it is too large Load Diff

View File

@ -29,7 +29,7 @@ export class NextcloudClient {
private rootDirectory: string) {
this.guid = uuidv4();
this.headers = { 'Authorization': 'Basic ' + btoa(`${Inputs.Username}:${Inputs.Password}`) };
this.davClient = webdav.createClient(this.endpoint, {
this.davClient = webdav.createClient(`${this.endpoint}/remote.php/dav`, {
username: Inputs.Username,
password: Inputs.Password
});