fix missing parameter
This commit is contained in:
parent
5392ea59c6
commit
3613409eed
|
@ -7,6 +7,7 @@ import { EventEmitter } from 'events';
|
||||||
import { Inject, Injectable } from '@nestjs/common';
|
import { Inject, Injectable } from '@nestjs/common';
|
||||||
import * as Redis from 'ioredis';
|
import * as Redis from 'ioredis';
|
||||||
import * as WebSocket from 'ws';
|
import * as WebSocket from 'ws';
|
||||||
|
import { NoteMutingService } from '@/core/note/NoteMutingService.js';
|
||||||
import { DI } from '@/di-symbols.js';
|
import { DI } from '@/di-symbols.js';
|
||||||
import type { UsersRepository, MiAccessToken } from '@/models/_.js';
|
import type { UsersRepository, MiAccessToken } from '@/models/_.js';
|
||||||
import { NotificationService } from '@/core/NotificationService.js';
|
import { NotificationService } from '@/core/NotificationService.js';
|
||||||
|
@ -39,6 +40,7 @@ export class StreamingApiServerService {
|
||||||
private notificationService: NotificationService,
|
private notificationService: NotificationService,
|
||||||
private usersService: UserService,
|
private usersService: UserService,
|
||||||
private channelFollowingService: ChannelFollowingService,
|
private channelFollowingService: ChannelFollowingService,
|
||||||
|
private noteMutingService: NoteMutingService,
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -97,7 +99,9 @@ export class StreamingApiServerService {
|
||||||
this.notificationService,
|
this.notificationService,
|
||||||
this.cacheService,
|
this.cacheService,
|
||||||
this.channelFollowingService,
|
this.channelFollowingService,
|
||||||
user, app,
|
this.noteMutingService,
|
||||||
|
user,
|
||||||
|
app,
|
||||||
);
|
);
|
||||||
|
|
||||||
await stream.init();
|
await stream.init();
|
||||||
|
|
Loading…
Reference in New Issue