Fixing merge conflict.

This commit is contained in:
mike12345567 2023-05-31 18:08:29 +01:00
parent 039e78379f
commit 969ee52c29
1 changed files with 2 additions and 2 deletions

View File

@ -14,9 +14,9 @@ export default class BuilderSocket extends BaseSocket {
super(app, server, "/socket/builder", [authorized(permissions.BUILDER)])
}
async onConnect(socket: ?Socket) {
async onConnect(socket?: Socket) {
// Initial identification of selected app
socket.on(BuilderSocketEvent.SelectApp, async (appId, callback) => {
socket?.on(BuilderSocketEvent.SelectApp, async (appId, callback) => {
await this.joinRoom(socket, appId)
// Reply with all users in current room