fixed bracket issue
MODIFY
src/server/ocpp/services/OCPPService.ts
src/server/ocpp/services/OCPPService.ts
@@ -1703,7 +1703,7 @@ export default class OCPPService {
case TransactionAction.UPDATE:
// Handle SoC
// Reassignment not needed anymore with specific connector data in car object --> Coming with Tronity implementation
- if (Utils.isNullOrUndefined(transaction.car || Utils.isNullOrUndefined(consumption))) {
+ if (Utils.isNullOrUndefined(transaction.car) || Utils.isNullOrUndefined(consumption)) {
return;
}
transaction.car.carCatalog = transaction.carCatalog;

fixed bracket issue