aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/peertube-socket.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-03-03 15:22:38 +0100
committerChocobozzz <me@florianbigard.com>2021-03-03 16:14:32 +0100
commitfbd51e69f2bb801d1b78e79d17bbf18089144358 (patch)
treee0784580bdf87aab1b841e8cb9439568ffb48f97 /server/lib/peertube-socket.ts
parentf55cc0f97ac1689e43415e32e6a01e98366902e7 (diff)
downloadPeerTube-fbd51e69f2bb801d1b78e79d17bbf18089144358.tar.gz
PeerTube-fbd51e69f2bb801d1b78e79d17bbf18089144358.tar.zst
PeerTube-fbd51e69f2bb801d1b78e79d17bbf18089144358.zip
Upgrade server dependencies
Diffstat (limited to 'server/lib/peertube-socket.ts')
-rw-r--r--server/lib/peertube-socket.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/peertube-socket.ts b/server/lib/peertube-socket.ts
index e27963e60..c91407a59 100644
--- a/server/lib/peertube-socket.ts
+++ b/server/lib/peertube-socket.ts
@@ -22,7 +22,7 @@ class PeerTubeSocket {
22 io.of('/user-notifications') 22 io.of('/user-notifications')
23 .use(authenticateSocket) 23 .use(authenticateSocket)
24 .on('connection', socket => { 24 .on('connection', socket => {
25 const userId = socket.handshake.query.user.id 25 const userId = socket.handshake.auth.user.id
26 26
27 logger.debug('User %d connected on the notification system.', userId) 27 logger.debug('User %d connected on the notification system.', userId)
28 28