fix: ensure the number of connectors is not part of stationInfo
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 13 Feb 2024 18:09:51 +0000 (19:09 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 13 Feb 2024 18:09:51 +0000 (19:09 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/charging-station/Helpers.ts

index 2e6f0869b114629a1132a5f249f7e72f4264d2e2..2b3e1c7eae58408f212fd79940db666ae1c37cac 100644 (file)
@@ -500,6 +500,7 @@ export const stationTemplateToStationInfo = (
   delete stationTemplate.Evses
   delete stationTemplate.Configuration
   delete stationTemplate.AutomaticTransactionGenerator
+  delete stationTemplate.numberOfConnectors
   delete stationTemplate.chargeBoxSerialNumberPrefix
   delete stationTemplate.chargePointSerialNumberPrefix
   delete stationTemplate.meterSerialNumberPrefix