): void {
if (isNotEmptyArray(payload.hashIds)) {
payload.hashIds = payload.hashIds
- ?.map((hashId) => {
- if (hashId != null && this.uiServer.chargingStations.has(hashId)) {
+ ?.map(hashId => {
+ if (this.uiServer.chargingStations.has(hashId)) {
return hashId
}
logger.warn(
)
return undefined
})
- ?.filter((hashId) => hashId != null) as string[]
+ .filter(hashId => hashId != null) as string[]
} else {
delete payload.hashIds
}