This commit is contained in:
Trym Lund Flogard 2021-06-02 19:00:35 +02:00
parent f5a8d5a548
commit ae39220a7a
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}/remote.php/dav`, {
this.davClient = webdav.createClient(`${this.endpoint}/remote.php/dav/files/${Inputs.Username}`, {
username: Inputs.Username,
password: Inputs.Password,
});