From c389129ae708d64b695fe3c567936a28529b9110 Mon Sep 17 00:00:00 2001 From: Fanilo-Nantenaina Date: Mon, 12 Jan 2026 19:04:09 +0300 Subject: [PATCH] Updated using the correct redirection structure --- api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.py b/api.py index 009bfdb..da967df 100644 --- a/api.py +++ b/api.py @@ -179,7 +179,7 @@ async def obtenir_clients( sage: SageGatewayClient = Depends(get_sage_client_for_user), ): try: - clients = sage_client.lister_clients(filtre=query or "") + clients = sage.lister_clients(filtre=query or "") return [ClientDetails(**c) for c in clients] except Exception as e: logger.error(f"Erreur recherche clients: {e}")