diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-03 15:22:38 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-03-03 16:14:32 +0100 |
commit | fbd51e69f2bb801d1b78e79d17bbf18089144358 (patch) | |
tree | e0784580bdf87aab1b841e8cb9439568ffb48f97 /server/lib | |
parent | f55cc0f97ac1689e43415e32e6a01e98366902e7 (diff) | |
download | PeerTube-fbd51e69f2bb801d1b78e79d17bbf18089144358.tar.gz PeerTube-fbd51e69f2bb801d1b78e79d17bbf18089144358.tar.zst PeerTube-fbd51e69f2bb801d1b78e79d17bbf18089144358.zip |
Upgrade server dependencies
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/peertube-socket.ts | 2 |
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 | ||