Skip to content

[FIX] Uploading files from WebDAV#21948

Merged
sampaiodiego merged 3 commits intodevelopfrom
fix/webdav
May 6, 2021
Merged

[FIX] Uploading files from WebDAV#21948
sampaiodiego merged 3 commits intodevelopfrom
fix/webdav

Conversation

@KevLehman
Copy link
Member

@KevLehman KevLehman commented May 4, 2021

Proposed changes (including videos or screenshots)

Issue(s)

Fixes #20939
Fixes #21045

Steps to test or reproduce

Further comments

@KevLehman KevLehman requested a review from a team May 4, 2021 20:19
milton-rucks
milton-rucks previously approved these changes May 5, 2021
try {
return await this._client.createDirectory(path);
} catch (error) {
console.error(error);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if this is important to keep, can you please use Logger instead? we should try not use console since we cannot control its output.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, this were debug logs. Let me modify

try {
return await this._client.getDirectoryContents(path);
} catch (error) {
console.error(error);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

@sampaiodiego sampaiodiego changed the title [Fix] destructuring when uploading files from webdav [FIX] Uploading files from WebDAV May 6, 2021
@sampaiodiego sampaiodiego merged commit 7d86858 into develop May 6, 2021
@sampaiodiego sampaiodiego deleted the fix/webdav branch May 6, 2021 02:40
@sampaiodiego sampaiodiego mentioned this pull request May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WebDav [undefined] Error on Upload from NextCloud RocketChat shows "undefined" when sharing pictures from Nextcloud/Webdav

3 participants

Comments