aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/socket
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-07 16:02:46 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:17 +0200
commit5f8bd4cbb178290da7d8f81e996f19f0eccc8e4c (patch)
tree02d056121540652b0867fc2ef56699138afe6271 /shared/extra-utils/socket
parent9fff08cf83f34339df7ed4ac770e1dee536adf9d (diff)
downloadPeerTube-5f8bd4cbb178290da7d8f81e996f19f0eccc8e4c.tar.gz
PeerTube-5f8bd4cbb178290da7d8f81e996f19f0eccc8e4c.tar.zst
PeerTube-5f8bd4cbb178290da7d8f81e996f19f0eccc8e4c.zip
Introduce blocklist command
Diffstat (limited to 'shared/extra-utils/socket')
-rw-r--r--shared/extra-utils/socket/socket-io-command.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/socket/socket-io-command.ts b/shared/extra-utils/socket/socket-io-command.ts
index 545561bed..c277ead28 100644
--- a/shared/extra-utils/socket/socket-io-command.ts
+++ b/shared/extra-utils/socket/socket-io-command.ts
@@ -5,7 +5,7 @@ export class SocketIOCommand extends AbstractCommand {
5 5
6 getUserNotificationSocket (options: OverrideCommandOptions = {}) { 6 getUserNotificationSocket (options: OverrideCommandOptions = {}) {
7 return io(this.server.url + '/user-notifications', { 7 return io(this.server.url + '/user-notifications', {
8 query: { accessToken: this.server.accessToken } 8 query: { accessToken: options.token ?? this.server.accessToken }
9 }) 9 })
10 } 10 }
11 11