diff --git a/backend/src/user/user.repository.ts b/backend/src/user/user.repository.ts index 771c423c..8d4346d6 100644 --- a/backend/src/user/user.repository.ts +++ b/backend/src/user/user.repository.ts @@ -1,12 +1,10 @@ -import { DataSource, Repository } from 'typeorm'; +import { DataSource } from 'typeorm'; import { User } from './user.entity'; import { Injectable } from '@nestjs/common'; import { SoftDeleteRepository } from '../common/SoftDeleteRepository'; @Injectable() export class UserRepository extends SoftDeleteRepository { - private readonly repository: Repository; - constructor(dataSource: DataSource) { super(User, dataSource.createEntityManager()); }