Skip to content

Commit 0a083f2

Browse files
committed
Update web_routes.py
1 parent 8ded185 commit 0a083f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/web_routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ async def get_creds_status(token: str = Depends(verify_token)):
470470

471471
# 获取状态时不要调用_discover_credential_files,因为它会过滤被禁用的文件
472472
# 直接获取所有文件的状态
473-
status = credential_manager.get_creds_status()
473+
status = await credential_manager.get_creds_status()
474474

475475
# 读取文件内容
476476
creds_info = {}

0 commit comments

Comments
 (0)