Hi all,
When I return false in onauth method, the console will output twice and the client will execute onError twice. Is this normal? thanks!
//server side
async onAuth(client: Client, options: any){
console.log("onauth------------")
return new Promise.reject({message:"fail message"})
}
//server side console print twice
"fail message"
"fail message"
//client side onError will trigger twice
"fail message"
"" //the second err message is null string