Skip to content

Commit 9536bb8

Browse files
authored
Merge pull request #2 from docusign/alert-autofix-1
Potential fix for code scanning alert no. 1: Clear-text logging of sensitive information
2 parents b5e517f + 6815aed commit 9536bb8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test_bls.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ def test_bls_api(start_year, end_year):
2222
# Get BLS API key
2323
bls_api_key = os.getenv('BLS_API_KEY')
2424
if bls_api_key:
25-
print(f"🔑 Using API key: {bls_api_key[:8]}...")
25+
print("🔑 Using API key from environment")
2626
else:
27-
print(f"⚠️ No API key - using public API")
27+
print("⚠️ No API key - using public API")
2828

2929
# BLS API call
3030
url = "https://api.bls.gov/publicAPI/v2/timeseries/data/"

0 commit comments

Comments
 (0)