aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/importer/importer.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/components/importer/importer.js b/src/components/importer/importer.js
index 8d6c8b3f..44d02c93 100644
--- a/src/components/importer/importer.js
+++ b/src/components/importer/importer.js
@@ -13,10 +13,7 @@ const Importer = {
},
submit () {
this.uploading = true
- // eslint-disable-next-line no-undef
- const formData = new FormData()
- formData.append('list', this.file)
- this.$store.state.api.backendInteractor.followImport({params: formData})
+ this.$store.state.api.backendInteractor.followImport(this.file)
.then((status) => {
if (status) {
this.success = true