Closed jonferreira closed 6 months ago
Hello, thanks for reporting. Could you make a PR with this null check please?
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Greetings.
Today, out of the blue, my node-red instance got stuck in a crash loop. Upon investigating I've found out it was this node that was crashing node-red.
I've "fixed it" by changing:
this.deviceByIdExt = new Map(response.devices.map(o => [o.serialNumber, o]));
into
this.deviceByIdExt = new Map(response.devices?.map(o => [o.serialNumber, o]));
but someone smarter than me should take a look at it :D