refactor(backend): Remove unused injections (#11462)
* Remove unused injections * Remove unused imports
This commit is contained in:
parent
b465bcd601
commit
8a6791da3f
107 changed files with 71 additions and 542 deletions
|
@ -8,7 +8,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';
|
||||
|
@ -59,7 +58,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,
|
||||
) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue