Skip to content

Commit

Permalink
fix data
Browse files Browse the repository at this point in the history
  • Loading branch information
TA2k committed Jun 10, 2024
1 parent d7902aa commit fefa295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ class Fiat extends utils.Adapter {
let url = '/v1/accounts/' + this.UID + '/vehicles/' + vin + '/' + action;
if (command === 'CPPLUS') {
try {
data.schedule = JSON.parse(state.val);
data.schedules = JSON.parse(state.val);

url = '/v2/accounts/' + this.UID + '/vehicles/' + vin + '/ev/' + action;
} catch (error) {
Expand Down

0 comments on commit fefa295

Please sign in to comment.