diff --git a/src/climate_assessment/testing.py b/src/climate_assessment/testing.py index c9b5aa3..40afd1f 100644 --- a/src/climate_assessment/testing.py +++ b/src/climate_assessment/testing.py @@ -32,7 +32,7 @@ def _get_infiller_download_link(filename): return requests.get( infiller_url, - headers={"Authorization": f"Bearer {conn._token}"}, + headers={"Authorization": f"Bearer {conn.auth.access_token}"}, ).json()["directLink"]