From b936e6cd14e5ab00a1e5e05616ca2e01c8710afd Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Thu, 22 Feb 2024 14:55:27 +0100 Subject: [PATCH] fix rebase --- lemarche/utils/apis/api_brevo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lemarche/utils/apis/api_brevo.py b/lemarche/utils/apis/api_brevo.py index 829f5c88b..649a58915 100644 --- a/lemarche/utils/apis/api_brevo.py +++ b/lemarche/utils/apis/api_brevo.py @@ -8,7 +8,7 @@ from lemarche.siaes.models import Siae from lemarche.users.models import User -from lemarche.utils.urls import get_admin_url_object, get_share_url_object +from lemarche.utils.urls import get_object_admin_url, get_object_share_url logger = logging.getLogger(__name__) @@ -82,8 +82,8 @@ def create_company(siae: Siae): "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), + "app_url": get_object_share_url(siae), + "admin_url": get_object_admin_url(siae), }, )