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 bcrypt from 'bcryptjs';
import { DataSource, IsNull } from 'typeorm';
import { DI } from '@/di-symbols.js';
import type { UsedUsernamesRepository, UsersRepository } from '@/models/index.js';
import type { Config } from '@/config.js';
import { User } from '@/models/entities/User.js';
import { UserProfile } from '@/models/entities/UserProfile.js';
import { IdService } from '@/core/IdService.js';
@ -28,9 +27,6 @@ export class SignupService {
@Inject(DI.db)
private db: DataSource,
@Inject(DI.config)
private config: Config,
@Inject(DI.usersRepository)
private usersRepository: UsersRepository,