diff --git a/server/handlers/io.js b/server/handlers/io.js index f4cfdc1c..d7cd3efc 100644 --- a/server/handlers/io.js +++ b/server/handlers/io.js @@ -96,7 +96,7 @@ module.exports = function() { if(coll.indexOf("?") > -1){ coll = coll.substring(0, coll.indexOf("?")); } - Functions.setChromecastHost(socket.cookie_id, msg.socketid, msg.channel, function(results) { + Functions.setChromecastHost(socket.cookie_id, msg.socket_id, msg.channel, function(results) { console.log("setChromecastHost: ", results); }); //socket.cookie_id = msg.guid;