Testing multi-sage users
This commit is contained in:
parent
b3419eafaa
commit
6b6246b6e5
2 changed files with 3 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -39,3 +39,5 @@ data/*.db.bak
|
|||
*.db
|
||||
|
||||
tools/
|
||||
|
||||
.env.staging
|
||||
2
api.py
2
api.py
|
|
@ -176,7 +176,7 @@ app.include_router(universign_router)
|
|||
@app.get("/clients", response_model=List[ClientDetails], tags=["Clients"])
|
||||
async def obtenir_clients(
|
||||
query: Optional[str] = Query(None),
|
||||
#sage: SageGatewayClient = Depends(get_sage_client_for_user),
|
||||
sage: SageGatewayClient = Depends(get_sage_client_for_user),
|
||||
):
|
||||
try:
|
||||
clients = sage_client.lister_clients(filtre=query or "")
|
||||
|
|
|
|||
Loading…
Reference in a new issue