From ae026d84591d3f09624d7a0779c5cfa4c38bd09b Mon Sep 17 00:00:00 2001 From: hyohyo12 <129946082+hyohyo12@users.noreply.github.com> Date: Thu, 7 Nov 2024 17:44:49 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=ED=95=84=EC=9A=94=EC=97=86?= =?UTF-8?q?=EB=8A=94=20=EC=BD=94=EB=93=9C=20=EC=82=AD=EC=A0=9C=20#8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/user/user.repository.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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()); }