Harry Martland closed merge request !529: fix: checks that monitor.details are an object rather than a string at startup at Shinobi Systems / Shinobi

Harry Martland
2025-04-15T18:35:10Z

I have been struggling for a while were ONVIF events were not being listened to when Shinobi first starts. This is particularly annoying as my server applies updates and restarts weekly.

It looked like the issue was that the monitor.details attribute was a string at startup for some reason. I found the checkDetails function which seems to be solving this problem in other places so I thought to use that. I hope this is in the right place.