Hotspot crash
Hotspot crash with the following error:
Listening on http://localhost:5000
Found zone cdaq3
Before connecting
/usr/src/app/spotlight.js:91
const data = await db.lastStoredEvents(since);
^
TypeError: Cannot read properties of undefined (reading 'lastStoredEvents')
at /usr/src/app/spotlight.js:91:24
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
at next (/usr/src/app/node_modules/express/lib/router/route.js:144:13)
at Route.dispatch (/usr/src/app/node_modules/express/lib/router/route.js:114:3)
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
at /usr/src/app/node_modules/express/lib/router/index.js:284:15
at param (/usr/src/app/node_modules/express/lib/router/index.js:365:14)
at param (/usr/src/app/node_modules/express/lib/router/index.js:376:14)
at param (/usr/src/app/node_modules/express/lib/router/index.js:376:14)
at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:421:3)