changeset 2241:5529e1f08dba

import_queue: ubn used correct endpoint
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 13 Feb 2019 15:16:12 +0100
parents c3cc21dee75d
children 786c3fb7efe1
files client/src/components/importschedule/Importscheduledetail.vue
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/importschedule/Importscheduledetail.vue	Wed Feb 13 15:14:53 2019 +0100
+++ b/client/src/components/importschedule/Importscheduledetail.vue	Wed Feb 13 15:16:12 2019 +0100
@@ -667,10 +667,10 @@
       if (!this.uploadFile) return;
       let formData = new FormData();
       formData.append("ubn", this.uploadFile);
-      HTTP.post("/imports/ubn", {
+      HTTP.post("/imports/ubn", formData, {
         headers: {
           "X-Gemma-Auth": localStorage.getItem("token"),
-          "Content-type": "text/xml; charset=UTF-8"
+          "Content-Type": "multipart/form-data"
         }
       })
         .then(response => {