This commit is contained in:
syuilo 2022-09-24 10:43:23 +09:00
parent 0f7cbb5922
commit 349f37bf57
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@ import { Endpoint } from '@/server/api/endpoint-base.js';
import type { ModerationLogsRepository } from '@/models/index.js'; import type { ModerationLogsRepository } from '@/models/index.js';
import { QueryService } from '@/core/QueryService.js'; import { QueryService } from '@/core/QueryService.js';
import { DI } from '@/di-symbols.js'; import { DI } from '@/di-symbols.js';
import { ModerationLogEntityService } from '@/core/entities/ModerationLogEntityService.js';
export const meta = { export const meta = {
tags: ['admin'], tags: ['admin'],
@ -67,6 +68,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
@Inject(DI.moderationLogsRepository) @Inject(DI.moderationLogsRepository)
private moderationLogsRepository: ModerationLogsRepository, private moderationLogsRepository: ModerationLogsRepository,
private moderationLogEntityService: ModerationLogEntityService,
private queryService: QueryService, private queryService: QueryService,
) { ) {
super(meta, paramDef, async (ps, me) => { super(meta, paramDef, async (ps, me) => {