return array

This commit is contained in:
srgooglo 2022-02-21 10:02:46 +01:00
parent 4a93623549
commit 60f29d3bdc

View File

@ -9,7 +9,7 @@ export default class ComplexController {
getWSEndpoints() { getWSEndpoints() {
if (typeof this.channels !== "object") { if (typeof this.channels !== "object") {
return false return []
} }
const keys = Object.keys(this.channels) const keys = Object.keys(this.channels)