Skip to content

Commit

Permalink
refactor: import 할때 상대경로 사용
Browse files Browse the repository at this point in the history
  • Loading branch information
peageon committed Dec 6, 2023
1 parent 19dfcc2 commit b5edbc4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions back/src/modules/message/entity/message.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
JoinColumn,
Unique
} from 'typeorm';
import { SnowballEntity } from 'src/modules/snowball/entity/snowball.entity';
import { UserEntity } from 'src/modules/user/entity/user.entity';
import { SnowballEntity } from '../../snowball/entity/snowball.entity';
import { UserEntity } from '../../user/entity/user.entity';
import { Exclude } from 'class-transformer';
@Entity({ name: 'message' })
@Unique(['snowball_id', 'location', 'is_deleted'])
Expand Down
2 changes: 1 addition & 1 deletion back/src/modules/snowball/dto/snowball.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
} from '@nestjs/class-validator';
import { ApiProperty } from '@nestjs/swagger';
import { Expose, Transform } from 'class-transformer';
import { MessageDto } from 'src/modules/message/dto/message.dto';
import { MessageDto } from '../../message/dto/message.dto';

export class SnowballDto {
@Expose()
Expand Down
2 changes: 1 addition & 1 deletion back/src/modules/snowball/snowball.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { ReqCreateSnowballDto } from './dto/request/req-create-snowball.dto';
import { ReqUpdateSnowballDto } from './dto/request/req-update-snowball.dto';
import { SnowballDto } from './dto/snowball.dto';
import { ResUpdateSnowballDto } from './dto/response/res-update-snowball.dto';
import { JWTGuard } from 'src/common/guards/jwt.guard';
import { JWTGuard } from '../../common/guards/jwt.guard';
import { UpdateMainDecoDto } from './dto/update-main-decoration.dto';
import { JWTRequest } from '../../common/interface/request.interface';
import { hasJWTInterceptor } from '../../common/interceptors/hasJwt.interceptor';
Expand Down
2 changes: 1 addition & 1 deletion back/src/modules/user/entity/user.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
CreateDateColumn
} from 'typeorm';
import { SnowballEntity } from '../../snowball/entity/snowball.entity';
import { MessageEntity } from 'src/modules/message/entity/message.entity';
import { MessageEntity } from '../../message/entity/message.entity';

@Entity({ name: 'user' })
@Index(['auth_id'], { unique: true })
Expand Down

0 comments on commit b5edbc4

Please sign in to comment.