This commit is contained in:
retoor 2025-01-27 03:16:44 +01:00
parent 188a1e6178
commit 26210f8c09

View File

@ -78,7 +78,7 @@ class Page {
}
class RESTClient {
debug = true
debug = false
async get(url, params){
params = params ? params : {}
@ -276,7 +276,6 @@ class Socket extends EventHandler {
})
}
onData(data){
console.debug("Data received",data)
if(data.callId){
this.emit(data.callId, data.data)
}
@ -331,7 +330,6 @@ class App extends EventHandler {
this.rpc = this.ws.client
const me = this
this.ws.addEventListener("channel-message", (data) => {
console.debug("App channel message!",data)
me.emit(data.channel_uid,data)
})
}
@ -350,7 +348,8 @@ class App extends EventHandler {
}))
}
return await Promise.all(promises)
//return await Promise.all(promises)
}