aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/peertube-socket.ts
diff options
context:
space:
mode:
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