logging objects
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -91,7 +91,7 @@ server.on("upgrade", async function(request, socket, head) { | ... | @@ -91,7 +91,7 @@ server.on("upgrade", async function(request, socket, head) { |
91 | user.create(roomname,sig,async function(dack){ | 91 | user.create(roomname,sig,async function(dack){ |
92 | console.log("We've got user create ack",dack,roomname,sig); | 92 | console.log("We've got user create ack",dack,roomname,sig); |
93 | if(dack.err){ console.log("error in user.create",dack.err); } | 93 | if(dack.err){ console.log("error in user.create",dack.err); } |
94 | user.auth(roomname,sig,function(auth){ | 94 | user.auth(roomname,sig,async function(auth){ |
95 | console.log("We've got user auth ack",auth); | 95 | console.log("We've got user auth ack",auth); |
96 | if(auth.err){ console.log('error in auth',auth.err); } | 96 | if(auth.err){ console.log('error in auth',auth.err); } |
97 | //console.log("auth",auth,roomname,sig); | 97 | //console.log("auth",auth,roomname,sig); | ... | ... |
-
Please register or sign in to post a comment