refactor(backend): Remove unused injections (#11462)

* Remove unused injections

* Remove unused imports
This commit is contained in:
woxtu 2023-08-05 10:33:00 +09:00 committed by GitHub
parent b465bcd601
commit 8a6791da3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
107 changed files with 71 additions and 542 deletions

View file

@ -9,7 +9,6 @@ import type { NotesRepository } from '@/models/index.js';
import { Endpoint } from '@/server/api/endpoint-base.js';
import { QueryService } from '@/core/QueryService.js';
import { NoteEntityService } from '@/core/entities/NoteEntityService.js';
import { MetaService } from '@/core/MetaService.js';
import ActiveUsersChart from '@/core/chart/charts/active-users.js';
import { DI } from '@/di-symbols.js';
import { RoleService } from '@/core/RoleService.js';
@ -65,7 +64,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
private noteEntityService: NoteEntityService,
private queryService: QueryService,
private metaService: MetaService,
private roleService: RoleService,
private activeUsersChart: ActiveUsersChart,
private idService: IdService,