1
0
Fork 0
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:
Chocobozzz 2021-07-07 16:02:46 +02:00
parent 9fff08cf83
commit 5f8bd4cbb1
No known key found for this signature in database
GPG key ID: 583A612D890159BE
13 changed files with 230 additions and 385 deletions

View file

@ -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 }
})
}