feat: board 전체조회 결과가 없는 경우 수정
This commit is contained in:
parent
47645e86a8
commit
d4bd637abd
@ -37,9 +37,6 @@ public class BoardController {
|
||||
){
|
||||
List<ResponseBoardSummaryDto> boardSummaries = boardService.findBoards(pageNo, category, lectureId);
|
||||
|
||||
if(boardSummaries.isEmpty())
|
||||
return new ResponseEntity<>(boardSummaries, HttpStatus.NO_CONTENT);
|
||||
|
||||
return new ResponseEntity<>(boardSummaries, HttpStatus.OK);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user