forked from mirror/misskey
fix
This commit is contained in:
parent
0f7cbb5922
commit
349f37bf57
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user