Skip to content

Commit

Permalink
Merge pull request #211 from victorkp/master
Browse files Browse the repository at this point in the history
fix: Integration fails to setup
  • Loading branch information
cdnninja authored Feb 1, 2024
2 parents 5bf588d + 53dd6c9 commit 61fa545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/audiconnect/audi_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ async def get_vehicle_information(self):
}
req_rsp, rep_rsptxt = await self._api.request(
"POST",
"https://app-api.my.aoa.audi.com/vgql/v1/graphql",
"https://app-api.my.aoa.audi.com/vgql/v1/graphql" if self._country.upper()=="US" else "https://app-api.live-my.audi.com/vgql/v1/graphql", # Starting in 2023, US users need to point at the aoa (Audi of America) URL.
json.dumps(req_data),
headers=headers,
allow_redirects=False,
Expand Down

0 comments on commit 61fa545

Please sign in to comment.