Skip to content

Commit

Permalink
fixed trailing space
Browse files Browse the repository at this point in the history
  • Loading branch information
khiyami authored and khiyami committed Sep 5, 2024
1 parent fad2033 commit 320fc88
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/socket.io/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ async function onMessage(socket, payload) {
const escapedName = validator.escape(typeof event);
return callback({ message: `[[error:invalid-event, ${escapedName}]]` });
}

const parts = event.split('.');
const namespace = parts[0];
const methodToCall = parts.reduce((prev, cur) => {
Expand Down

0 comments on commit 320fc88

Please sign in to comment.