From 117bcc031af4ab126752ee9144a9d163ace06bc0 Mon Sep 17 00:00:00 2001 From: yesjuhee Date: Thu, 2 May 2024 21:16:18 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20StudentModule=20FilesModuls=20DI=20?= =?UTF-8?q?=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/students/students.module.ts | 4 +--- src/modules/students/students.service.ts | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/modules/students/students.module.ts b/src/modules/students/students.module.ts index 9fcc5a0..3f4fef6 100644 --- a/src/modules/students/students.module.ts +++ b/src/modules/students/students.module.ts @@ -2,12 +2,10 @@ import { Module } from "@nestjs/common"; import { StudentsController } from "./students.controller"; import { StudentsService } from "./students.service"; import { AuthModule } from "../auth/auth.module"; -import { FilesModule } from "../files/files.module"; - @Module({ controllers: [StudentsController], providers: [StudentsService], - imports: [AuthModule, FilesModule], + imports: [AuthModule], exports: [StudentsService], }) export class StudentsModule {} diff --git a/src/modules/students/students.service.ts b/src/modules/students/students.service.ts index 47fbe67..89f5573 100644 --- a/src/modules/students/students.service.ts +++ b/src/modules/students/students.service.ts @@ -1,4 +1,3 @@ -import { FilesService } from "./../files/files.service"; import { ReviewerRoleQuery, UpdateReviewerQueryDto } from "./dtos/update-reviewer-query-dto"; import { ThesisInfoQueryDto, ThesisQueryType } from "./dtos/thesis-info-query.dto"; import { @@ -30,8 +29,7 @@ import { UpdateSystemDto } from "./dtos/update-system.dto"; export class StudentsService { constructor( private readonly prismaService: PrismaService, - private readonly authService: AuthService, - private readonly fileService: FilesService + private readonly authService: AuthService ) {} // 학생 생성 API