Skip to content

Commit

Permalink
Merge pull request #251 from boostcampwm2023/be-develop
Browse files Browse the repository at this point in the history
[BE] HotFix 사항 develop으로 병합
  • Loading branch information
qkrwogk authored Dec 6, 2023
2 parents c875836 + 465a29a commit df06a46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/board/board.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import { HttpExceptionFilter } from '../exception-filter/http.exception-filter';

@Controller('post')
@UseInterceptors(LogInterceptor)
@UseFilters(HttpExceptionFilter)
@ApiTags('게시글 API')
export class BoardController {
constructor(private readonly boardService: BoardService) {}
Expand All @@ -49,7 +50,6 @@ export class BoardController {
@UseGuards(CookieAuthGuard)
@UseInterceptors(FilesInterceptor('file', 3))
@UseInterceptors(TransactionInterceptor)
@UseFilters(HttpExceptionFilter)
@UsePipes(ValidationPipe)
@CreateBoardSwaggerDecorator()
createBoard(
Expand Down
1 change: 1 addition & 0 deletions packages/server/src/board/board.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {
{ name: Exception.name, schema: ExceptionSchema },
]),
],
controllers: [BoardController],
providers: [BoardService],
})
export class BoardModule {}

0 comments on commit df06a46

Please sign in to comment.