changeset 2095:98f0c7956128

Fixed api url used in front end for stretches.
author Sascha Wilde <wilde@intevation.de>
date Fri, 01 Feb 2019 18:04:28 +0100
parents 7a3378c14397
children 8b7dee291488
files client/src/store/imports.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/store/imports.js	Fri Feb 01 17:39:39 2019 +0100
+++ b/client/src/store/imports.js	Fri Feb 01 18:04:28 2019 +0100
@@ -106,7 +106,7 @@
     },
     saveStretch({ commit }, stretch) {
       return new Promise((resolve, reject) => {
-        HTTP.post("/imports/stretch", stretch, {
+        HTTP.post("/imports/st", stretch, {
           headers: { "X-Gemma-Auth": localStorage.getItem("token") }
         })
           .then(response => {