Hi guys, im trying the pub/sub methods in the websocket and whenever i make a socket.publish() its not received on the frontend and im getting "0" as a response to the publish request.
However, when i run a simple ws.send() (no pubsub, just regular ws) it works perfectly.
is there something different i need to do for the publish method? I followed the example on the https://bun.sh/docs/api/websockets page word by word 😦