Mercurial > gemma
diff client/src/components/importschedule/Importscheduledetail.vue @ 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 | b1735b09df6f |
children | dedd7bbee846 |
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 => {