TypeError: eventcat.id.forEach is not a function
at index (/var/www/vhosts/otdih.pro/modules/events/index.js:80:17)
at Layer.handle [as handle_request] (/var/www/vhosts/otdih.pro/node_modules/express/lib/router/layer.js:95:5)
at next (/var/www/vhosts/otdih.pro/node_modules/express/lib/router/route.js:144:13)
at Route.dispatch (/var/www/vhosts/otdih.pro/node_modules/express/lib/router/route.js:114:3)
at Layer.handle [as handle_request] (/var/www/vhosts/otdih.pro/node_modules/express/lib/router/layer.js:95:5)
at /var/www/vhosts/otdih.pro/node_modules/express/lib/router/index.js:284:15
at param (/var/www/vhosts/otdih.pro/node_modules/express/lib/router/index.js:365:14)
at param (/var/www/vhosts/otdih.pro/node_modules/express/lib/router/index.js:376:14)
at param (/var/www/vhosts/otdih.pro/node_modules/express/lib/router/index.js:376:14)
at param (/var/www/vhosts/otdih.pro/node_modules/express/lib/router/index.js:376:14)
at Function.process_params (/var/www/vhosts/otdih.pro/node_modules/express/lib/router/index.js:421:3)
at next (/var/www/vhosts/otdih.pro/node_modules/express/lib/router/index.js:280:10)
at /var/www/vhosts/otdih.pro/app.js:134:3
at Layer.handle [as handle_request] (/var/www/vhosts/otdih.pro/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/var/www/vhosts/otdih.pro/node_modules/express/lib/router/index.js:328:13)
at /var/www/vhosts/otdih.pro/node_modules/express/lib/router/index.js:286:9
at param (/var/www/vhosts/otdih.pro/node_modules/express/lib/router/index.js:365:14)
at param (/var/www/vhosts/otdih.pro/node_modules/express/lib/router/index.js:376:14)
at Function.process_params (/var/www/vhosts/otdih.pro/node_modules/express/lib/router/index.js:421:3)
at next (/var/www/vhosts/otdih.pro/node_modules/express/lib/router/index.js:280:10)
at SendStream.error (/var/www/vhosts/otdih.pro/node_modules/serve-static/index.js:121:7)
at SendStream.emit (node:events:513:28)