fa69639e by Jabis Sevón

logging objects

1 parent e737e6e9
......@@ -91,7 +91,7 @@ server.on("upgrade", async function(request, socket, head) {
user.create(roomname,sig,async function(dack){
console.log("We've got user create ack",dack,roomname,sig);
if(dack.err){ console.log("error in user.create",dack.err); }
user.auth(roomname,sig,function(auth){
user.auth(roomname,sig,async function(auth){
console.log("We've got user auth ack",auth);
if(auth.err){ console.log('error in auth',auth.err); }
//console.log("auth",auth,roomname,sig);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!