Skip to content
This repository was archived by the owner on Dec 15, 2019. It is now read-only.

Commit 9c31be2

Browse files
committed
Return null on registration-approval
1 parent 529e42b commit 9c31be2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/websocket.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ module.exports = server => {
4444
// Approve registration
4545
ws.send(JSON.stringify({
4646
type: 'registration-approval',
47-
value: {
48-
connections: userMap[userid].length
49-
}
47+
value: null
5048
}));
5149
}
5250

0 commit comments

Comments
 (0)