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é")