From c33aee613e5e64b0c65e5f8fd655c8eeea29a9d7 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Thu, 22 Feb 2024 14:52:59 +0100 Subject: [PATCH] Update attributes --- lemarche/utils/apis/api_brevo.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lemarche/utils/apis/api_brevo.py b/lemarche/utils/apis/api_brevo.py index 8082d68fb..829f5c88b 100644 --- a/lemarche/utils/apis/api_brevo.py +++ b/lemarche/utils/apis/api_brevo.py @@ -75,10 +75,15 @@ def create_company(siae: Siae): attributes={ "id": siae.id, "siae": True, + "description": siae.description, "kind": siae.kind, "domain": siae.website, - "link_app": get_share_url_object(siae), - "link_admin": get_admin_url_object(siae), + "contact_email": siae.contact_email, + "contact_phone": siae.contact_phone, + "logo_url": siae.logo_url, + "geo_range": siae.geo_range, + "app_url": get_share_url_object(siae), + "admin_url": get_admin_url_object(siae), }, )