aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sockets.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-01-17 12:30:41 -0800
committerAdam Soltys <[email protected]>2023-01-17 12:30:41 -0800
commite6cd93b51798992a01f4bfee61d24384d2fa4089 (patch)
tree5ae8e54860901088e6cf24cef7b7f74c38bdeeef /lib/sockets.js
parent5ae4209579287c571559edcf00dce24754553aaf (diff)
downloadcoinos-server-e6cd93b51798992a01f4bfee61d24384d2fa4089.tar.gz
coinos-server-e6cd93b51798992a01f4bfee61d24384d2fa4089.zip
prettier
Diffstat (limited to 'lib/sockets.js')
-rw-r--r--lib/sockets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sockets.js b/lib/sockets.js
index a7d392a9..1105f94d 100644
--- a/lib/sockets.js
+++ b/lib/sockets.js
@@ -83,7 +83,7 @@ export async function socketServer(app) {
let { id: uid } = jwt.decode(token);
if (!uid) throw new Error("Invalid JWT token");
let user = await g(`user:${uid}`);
- console.log("uid", uid)
+ console.log("uid", uid);
if (!user) throw new Error("User not found");
if (!store.sockets[uid]) store.sockets[uid] = {};