mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 05:03:33 -05:00
Add in null check
This commit is contained in:
parent
dc60f2b736
commit
919b192e16
1 changed files with 1 additions and 1 deletions
|
@ -21,5 +21,5 @@ module.exports = Router =
|
||||||
return
|
return
|
||||||
|
|
||||||
client.on "joinProject", (data = {}, callback) ->
|
client.on "joinProject", (data = {}, callback) ->
|
||||||
WebsocketController.joinProject(client, user, data.project_id, callback)
|
WebsocketController.joinProject(client, user, data?.project_id, callback)
|
||||||
|
|
Loading…
Reference in a new issue