mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
household address: post address to household (WIP)
This commit is contained in:
@@ -44,7 +44,7 @@ const store = createStore({
|
||||
addAddressToHousehold({ commit }, payload) {
|
||||
console.log('@A addAddressToHousehold payload', payload);
|
||||
|
||||
postAddressToHousehold(payload)
|
||||
postAddressToHousehold(payload.householdId, payload.address)
|
||||
.then(household => new Promise((resolve, reject) => {
|
||||
commit('addAddressToHousehold', household);
|
||||
resolve();
|
||||
|
Reference in New Issue
Block a user