Skip to content

Commit

Permalink
refactor: 사용하지 않는 파일과 변수 제거
Browse files Browse the repository at this point in the history
- 사용하지 않는 파일과 변수를 제거함
  • Loading branch information
JoonSoo-Kim committed Dec 11, 2023
1 parent 1b7a6cf commit 852d25e
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 28 deletions.
2 changes: 1 addition & 1 deletion BE/src/auth/dto/auth-credential.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IsNotEmpty, IsString, Length, Matches } from "class-validator";
import { IsNotEmpty, IsString, Matches } from "class-validator";

export class AuthCredentialsDto {
@IsNotEmpty({ message: "유저 아이디는 비어있지 않아야 합니다." })
Expand Down
8 changes: 1 addition & 7 deletions BE/src/auth/dto/users.dto.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
import {
IsString,
Length,
MaxLength,
Matches,
IsNotEmpty,
} from "class-validator";
import { IsString, MaxLength, Matches, IsNotEmpty } from "class-validator";

export class CreateUserDto {
@IsNotEmpty({ message: "아이디는 비어있지 않아야 합니다." })
Expand Down
1 change: 0 additions & 1 deletion BE/src/auth/guard/auth.jwt-guard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
UnauthorizedException,
} from "@nestjs/common";
import { AuthGuard as NestAuthGuard } from "@nestjs/passport";
import { access } from "fs";
import * as jwt from "jsonwebtoken";
import { Redis } from "ioredis";
import { InjectRedis } from "@liaoliaots/nestjs-redis";
Expand Down
2 changes: 1 addition & 1 deletion BE/src/purchase/dto/purchase.design.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IsEnum, IsIn, IsNotEmpty } from "class-validator";
import { IsIn, IsNotEmpty } from "class-validator";
import { designEnum, domainEnum } from "src/utils/enum";

export class PurchaseDesignDto {
Expand Down
7 changes: 0 additions & 7 deletions BE/src/tags/tags.controller.ts

This file was deleted.

6 changes: 2 additions & 4 deletions BE/src/tags/tags.module.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import { Module } from "@nestjs/common";
import { TagsController } from "./tags.controller";
import { TagsService } from "./tags.service";
import { TagsRepository } from "./tags.repository";
import { Tag } from "./tags.entity";
import { TypeOrmModule } from "@nestjs/typeorm";

@Module({
imports: [TypeOrmModule.forFeature([Tag])],
controllers: [TagsController],
providers: [TagsService, TagsRepository],
controllers: [],
providers: [TagsRepository],
exports: [TagsRepository],
})
export class TagsModule {}
7 changes: 0 additions & 7 deletions BE/src/tags/tags.service.ts

This file was deleted.

0 comments on commit 852d25e

Please sign in to comment.