conduct-cli 0.4.24__tar.gz → 0.4.25__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {conduct_cli-0.4.24 → conduct_cli-0.4.25}/PKG-INFO +1 -1
- {conduct_cli-0.4.24 → conduct_cli-0.4.25}/pyproject.toml +1 -1
- {conduct_cli-0.4.24 → conduct_cli-0.4.25}/src/conduct_cli/guard.py +4 -1
- {conduct_cli-0.4.24 → conduct_cli-0.4.25}/src/conduct_cli.egg-info/PKG-INFO +1 -1
- {conduct_cli-0.4.24 → conduct_cli-0.4.25}/README.md +0 -0
- {conduct_cli-0.4.24 → conduct_cli-0.4.25}/setup.cfg +0 -0
- {conduct_cli-0.4.24 → conduct_cli-0.4.25}/setup.py +0 -0
- {conduct_cli-0.4.24 → conduct_cli-0.4.25}/src/conduct_cli/__init__.py +0 -0
- {conduct_cli-0.4.24 → conduct_cli-0.4.25}/src/conduct_cli/api.py +0 -0
- {conduct_cli-0.4.24 → conduct_cli-0.4.25}/src/conduct_cli/guardmcp.py +0 -0
- {conduct_cli-0.4.24 → conduct_cli-0.4.25}/src/conduct_cli/main.py +0 -0
- {conduct_cli-0.4.24 → conduct_cli-0.4.25}/src/conduct_cli.egg-info/SOURCES.txt +0 -0
- {conduct_cli-0.4.24 → conduct_cli-0.4.25}/src/conduct_cli.egg-info/dependency_links.txt +0 -0
- {conduct_cli-0.4.24 → conduct_cli-0.4.25}/src/conduct_cli.egg-info/entry_points.txt +0 -0
- {conduct_cli-0.4.24 → conduct_cli-0.4.25}/src/conduct_cli.egg-info/requires.txt +0 -0
- {conduct_cli-0.4.24 → conduct_cli-0.4.25}/src/conduct_cli.egg-info/top_level.txt +0 -0
|
@@ -905,8 +905,11 @@ def _report_savings(cfg: dict, base_url: str, api_key: str) -> None:
|
|
|
905
905
|
}
|
|
906
906
|
|
|
907
907
|
try:
|
|
908
|
+
member_token = cfg.get("member_token", "")
|
|
908
909
|
headers = {"Content-Type": "application/json"}
|
|
909
|
-
if
|
|
910
|
+
if member_token:
|
|
911
|
+
headers["Authorization"] = f"Bearer {member_token}"
|
|
912
|
+
elif api_key:
|
|
910
913
|
headers["X-Api-Key"] = api_key
|
|
911
914
|
data = json.dumps(payload).encode()
|
|
912
915
|
req = urllib.request.Request(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|