We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c11e16 commit 1c22b09Copy full SHA for 1c22b09
1 file changed
resources/assets/components/Attachment.vue
@@ -234,7 +234,7 @@ export default
234
// Check if profile uses secure download
235
if (profile && profile.secureDownload) {
236
// Token-based secure download
237
- client.post(this.settings.url + 'attachment/download/get-file-token.json', { file: attachment.id })
+ client.post(this.settings.url + 'attachment/download/get-file-token', { file: attachment.id })
238
.then((response) => {
239
const token = response.data.token
240
return client.get(this.settings.url + 'attachment/download/file/' + token, {responseType: 'arraybuffer'})
0 commit comments