I'm using redis-om with nodejs and I'm facing error !!
RedisError: Redis connection needs to be open
When I try to divide the app logic into controllers, routersit gets crashed , But it works completely fine if I make all the api's and endpoint in the main file (server.js) !!
The controller file's code :


