Skip to content

Commit

Permalink
fix(ws): fix incorrect host pattern on messages
Browse files Browse the repository at this point in the history
function call was missing the second argument
  • Loading branch information
KrisAphalon committed Aug 31, 2023
1 parent 069b519 commit f3f2556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/platform-ws/adapters/ws-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export class WsAdapter extends AbstractWsAdapter {
handler => handler.message === message.event,
);
const { callback } = messageHandler;
return transform(callback(message.data));
return transform(callback(message.data, message.event));
} catch {
return EMPTY;
}
Expand Down

0 comments on commit f3f2556

Please sign in to comment.