We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the login response may contain a vehicleinfolist instead of a single vehicleinfo:
"VehicleInfoList": { "VehicleInfo": [ { "charger20066":"false", "nickname":"LEAF", "telematicsEnabled":"true", "vin":"1ABCDEFG2HIJKLM3N" } ], "vehicleInfo": [ { "charger20066":"false", "nickname":"LEAF", "telematicsEnabled":"true", "vin":"1ABCDEFG2HIJKLM3N" } ] },
(yes, one with a lower case v and another with upper case V) currently, in that case, login-response.js throws an exception at line 57
A quick fix to get it going was to add before line 57:
if (this.res.hasOwnProperty('VehicleInfoList')) { this.res.vehicleInfo = this.res.VehicleInfoList.vehicleInfo; }
The text was updated successfully, but these errors were encountered:
Good to know, thank you. I knew there would be cases I haven't caught because I can only test with my account. Is the second entry just a copy?!
I'll add in your change.
Sorry, something went wrong.
d38c95f
Okay cool.
Version 1.0.6 has the fix in.
No branches or pull requests
the login response may contain a vehicleinfolist instead of a single vehicleinfo:
(yes, one with a lower case v and another with upper case V)
currently, in that case, login-response.js throws an exception at line 57
A quick fix to get it going was to add before line 57:
The text was updated successfully, but these errors were encountered: