From fde9babce530049aa4b7744b9102af080a223710 Mon Sep 17 00:00:00 2001 From: Daniel Klamt Date: Sun, 22 Dec 2019 23:21:23 +0100 Subject: [PATCH] fixed update endpoint call --- src/store/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/index.js b/src/store/index.js index 88e6483..585564c 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -76,7 +76,7 @@ const store = new Vuex.Store({ commit('replaceBoxes', data); }, async updateItem({ commit, getters }, item) { - const { data } = await axios.put(`/1/${getters.getEventSlug}/item/${item.iid}`, item); + const { data } = await axios.put(`/1/${getters.getEventSlug}/item/${item.uid}`, item); commit('updateItem', data); }, async postItem({ commit, getters }, item) {