Skip to content

Commit 11298ac

Browse files
authored
fix: Set auth token to be checked on interval (#4420)
1 parent b5a8032 commit 11298ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sharedb.planx.uk/server.js

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ const wss = new Server({
9393
cb(false, 401, "Unauthorized");
9494
} else {
9595
console.log({ newConnection: decoded });
96+
info.req.authToken = token;
9697
info.req.uId = decoded;
9798
cb(true);
9899
}

0 commit comments

Comments
 (0)