Skip to content

Commit

Permalink
Update audi_services.py
Browse files Browse the repository at this point in the history
  • Loading branch information
coreywillwhat authored Jul 26, 2024
1 parent b14ebf1 commit 639b24d
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 @@ -465,7 +465,7 @@ async def _get_security_token(self, vin: str, action: str):
def _get_vehicle_action_header(self, content_type: str, security_token: str):
headers = {
"User-Agent": HDR_USER_AGENT,
"Host": "mal-3a.prd.eu.dp.vwg-connect.com",
"Host": "mal-3a.prd.eu.dp.vwg-connect.com" if self._country.upper() == REGION_USA else "msg.volkswagen.de",
"X-App-Version": "4.26.0",
"X-App-Name": "myAudi",
"Authorization": "Bearer " + self.vwToken.get("access_token"),
Expand Down

0 comments on commit 639b24d

Please sign in to comment.