From 8b4d72db94743f4c36d9c274334a52a353eff95b Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Tue, 27 Feb 2024 12:29:41 +0100 Subject: [PATCH] Add address fields --- lemarche/utils/apis/api_brevo.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lemarche/utils/apis/api_brevo.py b/lemarche/utils/apis/api_brevo.py index abd6636f3..004129e48 100644 --- a/lemarche/utils/apis/api_brevo.py +++ b/lemarche/utils/apis/api_brevo.py @@ -83,9 +83,12 @@ def create_or_update_company(siae: Siae): "siae": True, "description": siae.description, "kind": siae.kind, - "domain": siae.website, + "address_road": siae.address, + "address_post_code": siae.post_code, + "address_city": siae.city, "contact_email": siae.contact_email, "contact_phone": siae.contact_phone, + "domain": siae.website, "logo_url": siae.logo_url, "geo_range": siae.geo_range, "app_url": get_object_share_url(siae),