File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export class BluelinkCanada extends Bluelink {
3333 language : '0' ,
3434 brand : this . apiHost === 'mybluelink.ca' ? 'H' : 'kia' ,
3535 offset : this . getTimeZone ( ) . slice ( 0 , 3 ) ,
36- 'User-Agent' : 'MyHyundai/2.0.25 (iPhone; iOS 18.3; Scale/3.00)' ,
36+ 'User-Agent' : config . manufacturer === 'kia' ? 'okhttp/4.12.0' : 'MyHyundai/2.0.25 (iPhone; iOS 18.3; Scale/3.00)' ,
3737 }
3838 this . authHeader = 'Accesstoken'
3939 this . tempLookup = {
@@ -100,8 +100,8 @@ export class BluelinkCanada extends Bluelink {
100100 await req . load ( )
101101 if ( req . response . cookies ) {
102102 for ( const cookie of req . response . cookies ) {
103- if ( cookie . name . toLowerCase ( ) === 'dtcookie ' ) {
104- return `dtCookie =${ cookie . value } `
103+ if ( cookie . name . toLowerCase ( ) === '__cf_bm ' ) {
104+ return `__cf_bm =${ cookie . value } `
105105 }
106106 }
107107 }
You can’t perform that action at this time.
0 commit comments