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) {