diff --git a/services/real-time/app/coffee/Router.coffee b/services/real-time/app/coffee/Router.coffee index 73c3aa0acd..23108921b7 100644 --- a/services/real-time/app/coffee/Router.coffee +++ b/services/real-time/app/coffee/Router.coffee @@ -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) \ No newline at end of file