mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Add in null check
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user