From: Jérôme Benoit Date: Thu, 14 Oct 2021 12:13:37 +0000 (+0200) Subject: Dedupe OCPP parameters configuration in charging station attributes X-Git-Tag: v1.1.31~17 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=798010fa70218249ba8dc9c08a7b67ac1df3fa4e;p=e-mobility-charging-stations-simulator.git Dedupe OCPP parameters configuration in charging station attributes Signed-off-by: Jérôme Benoit --- diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index b92626a0..b0ca0117 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -479,6 +479,7 @@ export default class ChargingStation { private initialize(): void { this.stationInfo = this.buildStationInfo(); this.configuration = this.getTemplateChargingStationConfiguration(); + delete this.stationInfo.Configuration; this.bootNotificationRequest = { chargePointModel: this.stationInfo.chargePointModel, chargePointVendor: this.stationInfo.chargePointVendor,