stash
This commit is contained in:
parent
3260eefc66
commit
4affc9e8b9
2 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue