mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
household address: fix POST household address
This commit is contained in:
parent
f39fe05dd5
commit
03a7ec389b
@ -8,7 +8,9 @@
|
||||
export const postAddressToHousehold = (householdId, addressId) => {
|
||||
console.log(householdId);
|
||||
console.log(addressId);
|
||||
const body = {'address': addressId};
|
||||
const body = {
|
||||
'id': addressId
|
||||
};
|
||||
const url = `/api/1.0/person/household/${householdId}/address.json`
|
||||
return fetch(url, {
|
||||
method: 'POST',
|
||||
|
Loading…
x
Reference in New Issue
Block a user