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
107 changed files with 71 additions and 542 deletions

View File

@@ -12,7 +12,6 @@ import type { User } from '@/models/entities/User.js';
import type { Role } from '@/models/entities/Role.js';
import { bindThis } from '@/decorators.js';
import { DEFAULT_POLICIES } from '@/core/RoleService.js';
import { UserEntityService } from './UserEntityService.js';
@Injectable()
export class RoleEntityService {
@@ -22,8 +21,6 @@ export class RoleEntityService {
@Inject(DI.roleAssignmentsRepository)
private roleAssignmentsRepository: RoleAssignmentsRepository,
private userEntityService: UserEntityService,
) {
}