Removed condition for retrieving connector stats with roaming site areas
MODIFY
src/storage/mongodb/SiteAreaStorage.ts
src/storage/mongodb/SiteAreaStorage.ts
@@ -361,7 +361,6 @@ export default class SiteAreaStorage {
if (siteAreasMDB && siteAreasMDB.length > 0) {
// Create
for (const siteAreaMDB of siteAreasMDB) {
- if (siteAreaMDB.issuer) {
// Skip site area with no charging stations if asked
if (params.withOnlyChargingStations && Utils.isEmptyArray(siteAreaMDB.chargingStations)) {
continue;
@@ -375,7 +374,6 @@ export default class SiteAreaStorage {
if (!params.withChargingStations && siteAreaMDB.chargingStations) {
delete siteAreaMDB.chargingStations;
}
- }
// Add
siteAreas.push(siteAreaMDB);
}

Removed condition for retrieving connector stats with roaming site areas