mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Introduce blocklist command
This commit is contained in:
parent
9fff08cf83
commit
5f8bd4cbb1
13 changed files with 230 additions and 385 deletions
|
@ -5,7 +5,7 @@ export class SocketIOCommand extends AbstractCommand {
|
|||
|
||||
getUserNotificationSocket (options: OverrideCommandOptions = {}) {
|
||||
return io(this.server.url + '/user-notifications', {
|
||||
query: { accessToken: this.server.accessToken }
|
||||
query: { accessToken: options.token ?? this.server.accessToken }
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue