From 798010fa70218249ba8dc9c08a7b67ac1df3fa4e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 14 Oct 2021 14:13:37 +0200 Subject: [PATCH] Dedupe OCPP parameters configuration in charging station attributes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ChargingStation.ts | 1 + 1 file changed, 1 insertion(+) 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, -- 2.34.1