save tariffID for CS even if not public
MODIFY
src/server/rest/v1/service/ChargingStationService.ts
src/server/rest/v1/service/ChargingStationService.ts
@@ -164,6 +164,8 @@ export default class ChargingStationService {
}
}
chargingStation.public = filteredRequest.public;
+ }
+ if (Utils.objectHasProperty(filteredRequest, 'tariffID')) {
chargingStation.tariffID = filteredRequest.tariffID;
}
if (Utils.objectHasProperty(filteredRequest, 'excludeFromSmartCharging')) {

save tariffID for CS even if not public