Skip to content

Commit

Permalink
Adjust review
Browse files Browse the repository at this point in the history
  • Loading branch information
elizavetaRa authored and diocas committed Nov 30, 2021
1 parent 3ba1cd3 commit 5f43e0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web-app-files/src/components/AppBar/AppBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ export default {
'Basic ' + Buffer.from('public:' + this.publicLinkPassword).toString('base64')
)
}
const response = await fetch(encodeURI(url), {
method: 'POST',
headers
Expand All @@ -563,7 +564,7 @@ export default {
resource = await this.$client.publicFiles.getFileInfo(
path,
this.publicLinkPassword,
DavProperties.Default
DavProperties.PublicLink
)
}
resource = buildResource(resource)
Expand All @@ -583,7 +584,6 @@ export default {
} catch (error) {
this.showMessage({
title: this.$gettext('Creating file failed…'),
desc: error,
status: 'danger'
})
}
Expand Down

0 comments on commit 5f43e0b

Please sign in to comment.