From 919b192e16eda0d717deae62cf5d54ec26eaffa1 Mon Sep 17 00:00:00 2001 From: James Allen Date: Mon, 10 Nov 2014 11:40:19 +0000 Subject: [PATCH] Add in null check --- services/real-time/app/coffee/Router.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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