diff --git a/api.js b/api.js index e288ab3e..672a0016 100644 --- a/api.js +++ b/api.js @@ -160,7 +160,7 @@ module.exports = function (Server) { } var clist = []; for(var key in Server.channels) { - clist.push(key); + clist.push(Server.channels[key].name); } handleChannelData({channel: clist.join(",")}, req, res); },