Swap callback parameters for SocketRouter #31
Labels
backend
lives within the /backend directory
low priority
refactor
something needs to be coded differently
https://github.com/I3uckwheat/cards-of-carousal/blob/main/backend/app/socket.js#L19
Instead of using
(req, webSocket)
, we should flip it to use(webSocket, req)
like the wss connection's callback.The text was updated successfully, but these errors were encountered: