修复--auth-stdin读取失败的bug

This commit is contained in:
2026-06-02 18:41:39 +08:00
parent c16e6e3d0c
commit f87dd91b2b
3 changed files with 46 additions and 4 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ def load_auth_context(auth_stdin: bool = False) -> AuthContext:
project_id=_pick(raw, "project_id", "projectId", "x_project_id"),
user_id=_pick(raw, "user_id", "userId", "x_user_id"),
username=_pick(raw, "username", "preferred_username"),
network=_pick(raw, "network", "project_code", "projectCode", "project"),
network="tjwater",
headers={str(key): str(value) for key, value in headers.items()},
)