From 8859152379c4a405c1eae89fa50a0a06c1c340b0 Mon Sep 17 00:00:00 2001 From: Fanilo-Nantenaina Date: Sun, 28 Dec 2025 21:34:13 +0300 Subject: [PATCH] Modified client's retrieving method on creating a new contact --- api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.py b/api.py index f04ccd2..a7bbacb 100644 --- a/api.py +++ b/api.py @@ -5996,7 +5996,7 @@ async def get_document_pdf( async def creer_contact(numero: str, contact: ContactCreate): try: try: - sage_client.obtenir_client(numero) + sage_client.lire_client(numero) except: raise HTTPException(404, f"Client {numero} non trouvé")