diff --git a/main.py b/main.py index 7d4a89b..9af791e 100644 --- a/main.py +++ b/main.py @@ -81,7 +81,7 @@ async def getclient(get: CL.CL_GET_CLIENT,api_key: APIKey = Depends(auth.get_api if not result: return False else: - return result + return result[0][0] @app.post("/info/getdatabase") async def getdatabase(get: CL.CL_GET_DATABASE,api_key: APIKey = Depends(auth.get_api_key)):