mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
household address: api POST on address for household (WIP)
This commit is contained in:
@@ -9,7 +9,7 @@ export const postAddressToHousehold = (householdId, addressId) => {
|
||||
console.log(householdId);
|
||||
console.log(addressId);
|
||||
const body = {'address': addressId};
|
||||
const url = `/api/1.0/person/household/${householdId}.json`
|
||||
const url = `/api/1.0/person/household/${householdId}/address.json`
|
||||
return fetch(url, {
|
||||
method: 'POST',
|
||||
headers: {'Content-Type': 'application/json;charset=utf-8'},
|
||||
|
Reference in New Issue
Block a user