diff options
Diffstat (limited to 'shared/extra-utils/socket/socket-io-command.ts')
-rw-r--r-- | shared/extra-utils/socket/socket-io-command.ts | 2 |
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 | ||