Fixing merge conflict.
This commit is contained in:
parent
039e78379f
commit
969ee52c29
|
@ -14,9 +14,9 @@ export default class BuilderSocket extends BaseSocket {
|
||||||
super(app, server, "/socket/builder", [authorized(permissions.BUILDER)])
|
super(app, server, "/socket/builder", [authorized(permissions.BUILDER)])
|
||||||
}
|
}
|
||||||
|
|
||||||
async onConnect(socket: ?Socket) {
|
async onConnect(socket?: Socket) {
|
||||||
// Initial identification of selected app
|
// Initial identification of selected app
|
||||||
socket.on(BuilderSocketEvent.SelectApp, async (appId, callback) => {
|
socket?.on(BuilderSocketEvent.SelectApp, async (appId, callback) => {
|
||||||
await this.joinRoom(socket, appId)
|
await this.joinRoom(socket, appId)
|
||||||
|
|
||||||
// Reply with all users in current room
|
// Reply with all users in current room
|
||||||
|
|
Loading…
Reference in New Issue