household address: post address to household (WIP)

This commit is contained in:
nobohan
2021-06-04 17:45:29 +02:00
parent d513be2fce
commit 6f68349f57
5 changed files with 11 additions and 46 deletions

View File

@@ -44,7 +44,7 @@ const store = createStore({
addAddressToHousehold({ commit }, payload) {
console.log('@A addAddressToHousehold payload', payload);
postAddressToHousehold(payload.householdId, payload.address)
postAddressToHousehold(payload.householdId, payload.addressId)
.then(household => new Promise((resolve, reject) => {
commit('addAddressToHousehold', household);
resolve();