Updated using the correct redirection structure
This commit is contained in:
parent
6b6246b6e5
commit
c389129ae7
1 changed files with 1 additions and 1 deletions
2
api.py
2
api.py
|
|
@ -179,7 +179,7 @@ async def obtenir_clients(
|
||||||
sage: SageGatewayClient = Depends(get_sage_client_for_user),
|
sage: SageGatewayClient = Depends(get_sage_client_for_user),
|
||||||
):
|
):
|
||||||
try:
|
try:
|
||||||
clients = sage_client.lister_clients(filtre=query or "")
|
clients = sage.lister_clients(filtre=query or "")
|
||||||
return [ClientDetails(**c) for c in clients]
|
return [ClientDetails(**c) for c in clients]
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"Erreur recherche clients: {e}")
|
logger.error(f"Erreur recherche clients: {e}")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue