Added inactive Charging Stations in CPO Locations
MODIFY
src/server/ocpi/ocpi-services-impl/ocpi-2.1.1/OCPIUtilsService.ts
src/server/ocpi/ocpi-services-impl/ocpi-2.1.1/OCPIUtilsService.ts
@@ -292,7 +292,7 @@ export default class OCPIUtilsService {
const chargingStations = await ChargingStationStorage.getChargingStations(tenant,
{ ...dbFilters, siteIDs: [ siteID ], public: true, issuer: true, withSiteArea: true, withSite: true },
dbParams ?? Constants.DB_PARAMS_MAX_LIMIT,
- [ 'id', 'chargePoints', 'connectors', 'coordinates', 'tariffID', 'lastSeen', 'siteAreaID', 'siteID', 'companyID', 'siteArea', 'site' ]);
+ [ 'id', 'inactive', 'chargePoints', 'connectors', 'coordinates', 'tariffID', 'lastSeen', 'siteAreaID', 'siteID', 'companyID', 'siteArea', 'site' ]);
for (const chargingStation of chargingStations.result) {
const chargingStationEvses: OCPIEvse[] = [];
if (!Utils.isEmptyArray(chargingStation.chargePoints)) {

Added inactive Charging Stations in CPO Locations