Skip to content

Commit

Permalink
refactor: 필요없는 코드 삭제 #8
Browse files Browse the repository at this point in the history
  • Loading branch information
hyohyo12 authored and Miensoap committed Nov 7, 2024
1 parent 4c2f245 commit ae026d8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/src/user/user.repository.ts
Original file line number Diff line number Diff line change
@@ -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<User, number> {
private readonly repository: Repository<User>;

constructor(dataSource: DataSource) {
super(User, dataSource.createEntityManager());
}
Expand Down

0 comments on commit ae026d8

Please sign in to comment.