mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-26 14:23:42 +00: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
|
||||
|
||||
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