File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export interface AmericaBrandEnvironment {
99}
1010
1111const getHyundaiEnvironment = ( ) : AmericaBrandEnvironment => {
12- const host = 'prd.eu-ccapi.hyundai .com:8080 ' ;
12+ const host = 'api.telematics.hyundaiusa .com' ;
1313 const baseUrl = `https://${ host } ` ;
1414 return {
1515 brand : 'hyundai' ,
Original file line number Diff line number Diff line change @@ -78,8 +78,9 @@ export class AmericanController extends SessionController<AmericanBlueLinkyConfi
7878 password : this . userConfig . password ,
7979 } ,
8080 headers : {
81- 'client_secret ' : this . environment . clientSecret ,
81+ 'User-Agent ' : 'PostmanRuntime/7.26.10' ,
8282 'client_id' : this . environment . clientId ,
83+ 'client_secret' : this . environment . clientSecret ,
8384 } ,
8485 json : true ,
8586 } ) ;
Original file line number Diff line number Diff line change @@ -65,8 +65,11 @@ class BlueLinky<
6565 }
6666
6767 on ( event : 'ready' , fnc : ( vehicles : VEHICLE_TYPE [ ] ) => void ) : this;
68+
69+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
6870 on ( event : 'error' , fnc : ( error : any ) => void ) : this;
6971
72+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
7073 on ( event : string | symbol , listener : ( ...args : any [ ] ) => void ) : this {
7174 return super . on ( event , listener ) ;
7275 }
You can’t perform that action at this time.
0 commit comments