Skip to content

Commit

Permalink
Fix(minho/board): bookmark 주석 해제modern-agile-team#4
Browse files Browse the repository at this point in the history
  • Loading branch information
klaus9267 committed Feb 21, 2023
1 parent 2eee965 commit 73b37d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main-project/src/boards/repository/board.repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ export class BoardsRepository extends Repository<Boards> {
case 3:
boards.where('guests.userNo = :userNo', { userNo });
break;
// case 4:
// boards.where('bookmarks.userNo = :userNo', { userNo });
// break;
case 4:
boards.where('bookmarks.userNo = :userNo', { userNo });
break;
default:
throw new BadRequestException(
'유저별 게시글 검색(getBoardsByUser-repository): type을 잘못 입력했습니다.',
Expand Down

0 comments on commit 73b37d3

Please sign in to comment.