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
|
@ -3,9 +3,7 @@
|
|||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
import { Inject, Injectable } from '@nestjs/common';
|
||||
import { DI } from '@/di-symbols.js';
|
||||
import type { InstancesRepository } from '@/models/index.js';
|
||||
import { Injectable } from '@nestjs/common';
|
||||
import type { Packed } from '@/misc/json-schema.js';
|
||||
import type { } from '@/models/entities/Blocking.js';
|
||||
import type { Instance } from '@/models/entities/Instance.js';
|
||||
|
@ -16,9 +14,6 @@ import { UtilityService } from '../UtilityService.js';
|
|||
@Injectable()
|
||||
export class InstanceEntityService {
|
||||
constructor(
|
||||
@Inject(DI.instancesRepository)
|
||||
private instancesRepository: InstancesRepository,
|
||||
|
||||
private metaService: MetaService,
|
||||
|
||||
private utilityService: UtilityService,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue