This commit is contained in:
j3d1 2024-06-15 19:38:20 +02:00
parent 3260eefc66
commit 4affc9e8b9
2 changed files with 3 additions and 2 deletions

View file

@ -497,7 +497,7 @@ const store = createStore({
}
},
async createShippingCode({commit, state}, code) {
const {data, success} = await http.post('/2/shipping_codes/', {code}, state.user.token);
const {data, success} = await http.post('/2/shipping_codes/', code, state.user.token);
if (data && success) {
commit('setShippingCodes', data);
}