Skip to content

Commit

Permalink
fix: roleServiceがなかった
Browse files Browse the repository at this point in the history
  • Loading branch information
lqvp committed Jan 2, 2025
1 parent c3440da commit 35b7241
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/backend/src/core/UserBlockingService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { UserWebhookService } from '@/core/UserWebhookService.js';
import { bindThis } from '@/decorators.js';
import { CacheService } from '@/core/CacheService.js';
import { UserFollowingService } from '@/core/UserFollowingService.js';
import { RoleService } from '@/core/RoleService.js';

@Injectable()
export class UserBlockingService implements OnModuleInit {
Expand Down Expand Up @@ -52,6 +53,7 @@ export class UserBlockingService implements OnModuleInit {
private webhookService: UserWebhookService,
private apRendererService: ApRendererService,
private loggerService: LoggerService,
private roleService: RoleService,
) {
this.logger = this.loggerService.getLogger('user-block');
}
Expand Down
2 changes: 2 additions & 0 deletions packages/backend/src/core/UserFollowingService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import { AccountMoveService } from '@/core/AccountMoveService.js';
import { UtilityService } from '@/core/UtilityService.js';
import type { ThinUser } from '@/queue/types.js';
import Logger from '../logger.js';
import { RoleService } from '@/core/RoleService.js';

const logger = new Logger('following/create');

Expand Down Expand Up @@ -92,6 +93,7 @@ export class UserFollowingService implements OnModuleInit {
private accountMoveService: AccountMoveService,
private perUserFollowingChart: PerUserFollowingChart,
private instanceChart: InstanceChart,
private roleService: RoleService,
) {
}

Expand Down

0 comments on commit 35b7241

Please sign in to comment.