Replies: 1 comment
-
For the server emit it expects the action to match up with the relevant permission name (see supported events). On the server side The emit raw doesn't check anything nor does it construct event name. It emits whatever it receives. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm trying to emit an event from a controller in Strapi. The Update-Route itself is accessible for authenticated users.
Hovewer, I don't receive anything on the client side. Whereas if I'm using the raw emit, I do get all the events.
What am I doing wrong?
Here is the Server-Code:
And here is the Client-Code (Vue-JS):
Beta Was this translation helpful? Give feedback.
All reactions