mirror of https://github.com/calzoneman/sync.git
fix index page
This commit is contained in:
parent
c2baf8dde3
commit
bd6acc42c9
2
api.js
2
api.js
|
@ -145,7 +145,7 @@ module.exports = function (Server) {
|
||||||
var clist = [];
|
var clist = [];
|
||||||
for(var key in all) {
|
for(var key in all) {
|
||||||
if(all[key].opts.show_public) {
|
if(all[key].opts.show_public) {
|
||||||
clist.push(key);
|
clist.push(all[key].name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.handleChannelData({channel: clist.join(",")}, req, res);
|
this.handleChannelData({channel: clist.join(",")}, req, res);
|
||||||
|
|
Loading…
Reference in New Issue