This commit is contained in:
Trym Lund Flogard 2021-06-02 18:41:08 +02:00
parent 80a86a24ab
commit cb9c817940
2 changed files with 713 additions and 716 deletions

1428
dist/index.js vendored

File diff suppressed because it is too large Load Diff

View File

@ -30,7 +30,6 @@ export class NextcloudClient {
this.guid = uuidv4(); this.guid = uuidv4();
this.headers = { 'Authorization': 'Basic ' + btoa(`${Inputs.Username}:${Inputs.Password}`) }; this.headers = { 'Authorization': 'Basic ' + btoa(`${Inputs.Username}:${Inputs.Password}`) };
this.davClient = webdav.createClient(this.endpoint, { this.davClient = webdav.createClient(this.endpoint, {
authType: AuthType.Digest,
username: Inputs.Username, username: Inputs.Username,
password: Inputs.Password password: Inputs.Password
}); });