Merge pull request #2705 from dhalbert/aero

MatrixPortal_S3_Flight_Proximity_Tracker: fix AERO_API_KEY typo
This commit is contained in:
Anne Barela 2024-01-10 16:18:18 -05:00 committed by GitHub
commit a55a80296d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,7 +136,7 @@ def fetch_flight_data():
headers = {
"Accept": "application/json; charset=UTF-8",
"x-apikey": os.getenv("AREO_API_KEY"), # Replace with your actual API key
"x-apikey": os.getenv("AERO_API_KEY"), # Replace with your actual API key
}
full_url = f"{base_url}?{construct_query_string(params)}"
response = requests.get(full_url, headers=headers)