Get Redis keys that match a pattern in v4
I was using redis version 3 in my nodejs app that published a message, to publish this message I was able to fetch specific keys that matched a value. Now I updated to version 4 and it looks like the key fetching part is not working anymore and messages aren’t being published. Here is that piece of code: