fixed update endpoint call
This commit is contained in:
parent
90b9d63bb5
commit
fde9babce5
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ const store = new Vuex.Store({
|
||||||
commit('replaceBoxes', data);
|
commit('replaceBoxes', data);
|
||||||
},
|
},
|
||||||
async updateItem({ commit, getters }, item) {
|
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);
|
commit('updateItem', data);
|
||||||
},
|
},
|
||||||
async postItem({ commit, getters }, item) {
|
async postItem({ commit, getters }, item) {
|
||||||
|
|
Loading…
Reference in a new issue