We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fd1da7b + 87cee7a commit 044c3dbCopy full SHA for 044c3db
1 file changed
api_utils/routers/api_keys.py
@@ -20,7 +20,7 @@ async def get_api_keys(logger: logging.Logger = Depends(get_logger)):
20
21
try:
22
auth_utils.initialize_keys()
23
- keys_info = [{"value": key, "status": "Valid"} for key in auth_utils.API_KEYS]
+ keys_info = list(auth_utils.API_KEYS)
24
return JSONResponse(
25
content={"success": True, "keys": keys_info, "total_count": len(keys_info)}
26
)
0 commit comments