Mercurial > gemma
diff client/src/components/ImportApprovedGaugeMeasurement.vue @ 2255:33af355047e1
Approved gauge meassurement import: Unified file upload parameter to 'agm'.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 13 Feb 2019 17:47:33 +0100 |
parents | a08e0f532304 |
children | ff1e4f1b54c6 |
line wrap: on
line diff
--- a/client/src/components/ImportApprovedGaugeMeasurement.vue Wed Feb 13 17:37:28 2019 +0100 +++ b/client/src/components/ImportApprovedGaugeMeasurement.vue Wed Feb 13 17:47:33 2019 +0100 @@ -86,7 +86,7 @@ submit() { if (!this.uploadFile) return; let formData = new FormData(); - formData.append("approvedgm", this.uploadFile); + formData.append("agm", this.uploadFile); HTTP.post("/imports/agm", formData, { headers: { "X-Gemma-Auth": localStorage.getItem("token"),