summaryrefslogtreecommitdiff
path: root/src/web/app/common/views/components/uploader.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app/common/views/components/uploader.vue')
-rw-r--r--src/web/app/common/views/components/uploader.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/common/views/components/uploader.vue b/src/web/app/common/views/components/uploader.vue
index 6465ad35e9..73006b16e9 100644
--- a/src/web/app/common/views/components/uploader.vue
+++ b/src/web/app/common/views/components/uploader.vue
@@ -50,7 +50,7 @@ export default Vue.extend({
reader.readAsDataURL(file);
const data = new FormData();
- data.append('i', (this as any).os.i.token);
+ data.append('i', (this as any).os.i.account.token);
data.append('file', file);
if (folder) data.append('folder_id', folder);